-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-2608][Core] Fixed command line option passing issue over Mesos #2145
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
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 |
|---|---|---|
|
|
@@ -17,10 +17,10 @@ | |
| # limitations under the License. | ||
| # | ||
|
|
||
| # | ||
| # This script is only used for fine grained Mesos executors | ||
|
|
||
| FWDIR="$(cd `dirname $0`/..; pwd)" | ||
|
|
||
| export PYTHONPATH=$FWDIR/python:$PYTHONPATH | ||
| export PYTHONPATH=$FWDIR/python/lib/py4j-0.8.2.1-src.zip:$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. It seems that we don't even need this file if we're doing this. We can just export the
Contributor
Author
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. I tried to, but still left this file here because it seemed non-trivial to figure out
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. We can use
Contributor
Author
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. But |
||
|
|
||
| echo "Running spark-executor with framework dir = $FWDIR" | ||
| exec $FWDIR/bin/spark-class org.apache.spark.executor.MesosExecutorBackend | ||
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.
This set of utilities is not intended to be used outside of the
deploycode (i.e. Spark's standalone scheduler) that's why it's causing issues here.