-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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-1004. PySpark on YARN #30
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
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.
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 | ||
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 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 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?