Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 29.4k
SPARK-1004. PySpark on YARN#30
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,5 @@ | ||
| *.pyc | ||
| docs/ | ||
| pyspark.egg-info | ||
| build/ | ||
| dist/ |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -34,3 +34,6 @@ this="$config_bin/$script" | ||
| export SPARK_PREFIX=`dirname "$this"`/.. | ||
| export SPARK_HOME=${SPARK_PREFIX} | ||
| export SPARK_CONF_DIR="$SPARK_HOME/conf" | ||
| # Add the PySpark classes to the PYTHONPATH: | ||
| export PYTHONPATH=$SPARK_HOME/python:$PYTHONPATH | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So this script I think only gets called when launching the standalone daemons. Would it make more sense to put this in Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point; I think we should move these lines to Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like we never addressed this. Should we move this into | ||
| export PYTHONPATH=$SPARK_HOME/python/lib/py4j-0.8.1-src.zip:$PYTHONPATH | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it would be worth it to crash or throw an error when passed an invalid env string?