Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-19307][pyspark] Make sure user conf is propagated to SparkContext. #16682

Closed
wants to merge 3 commits into from

Conversation

vanzin
Copy link
Contributor

@vanzin vanzin commented Jan 23, 2017

The code was failing to propagate the user conf in the case where the
JVM was already initialized, which happens when a user submits a
python script via spark-submit.

Tested with new unit test and by running a python script in a real cluster.

…ext.

The code was failing to propagate the user conf in the case where the
JVM was already initialized, which happens when a user submits a
python script via spark-submit.

Tested with new unit test and by running a python script in a real cluster.
@SparkQA
Copy link

SparkQA commented Jan 23, 2017

Test build #71876 has finished for PR 16682 at commit 35eeafe.

  • This patch fails Python style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jan 23, 2017

Test build #71882 has finished for PR 16682 at commit cef5136.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jan 24, 2017

Test build #71893 has finished for PR 16682 at commit ef8349a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@vanzin
Copy link
Contributor Author

vanzin commented Jan 24, 2017

@holdenk @zjffdu

@zjffdu
Copy link
Contributor

zjffdu commented Jan 24, 2017

LGTM

@vanzin
Copy link
Contributor Author

vanzin commented Jan 25, 2017

Merging to master / 2.1.

asfgit pushed a commit that referenced this pull request Jan 25, 2017
…ext.

The code was failing to propagate the user conf in the case where the
JVM was already initialized, which happens when a user submits a
python script via spark-submit.

Tested with new unit test and by running a python script in a real cluster.

Author: Marcelo Vanzin <[email protected]>

Closes #16682 from vanzin/SPARK-19307.

(cherry picked from commit 92afaa9)
Signed-off-by: Marcelo Vanzin <[email protected]>
@asfgit asfgit closed this in 92afaa9 Jan 25, 2017
@vanzin vanzin deleted the SPARK-19307 branch January 27, 2017 00:58
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
…ext.

The code was failing to propagate the user conf in the case where the
JVM was already initialized, which happens when a user submits a
python script via spark-submit.

Tested with new unit test and by running a python script in a real cluster.

Author: Marcelo Vanzin <[email protected]>

Closes apache#16682 from vanzin/SPARK-19307.
cmonkey pushed a commit to cmonkey/spark that referenced this pull request Feb 15, 2017
…ext.

The code was failing to propagate the user conf in the case where the
JVM was already initialized, which happens when a user submits a
python script via spark-submit.

Tested with new unit test and by running a python script in a real cluster.

Author: Marcelo Vanzin <[email protected]>

Closes apache#16682 from vanzin/SPARK-19307.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants