-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-20814][mesos] Restore support for spark.executor.extraClassPath. #18037
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
Conversation
Restore code that was removed as part of SPARK-17979, but instead of using the deprecated env variable name to propagate the class path, use a new one. Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend" manually.
|
Test build #77106 has finished for PR 18037 at commit
|
|
Test build #77129 has finished for PR 18037 at commit
|
|
looking... |
|
Was spark.executor.extraClassPath ever supported in Mesos? I see no code for it. |
|
Yes, it just set |
srowen
left a comment
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.
I trust your judgment on this one
|
It looks like Standalone gets around this by constructing a raw I don't really see why we would have deprecated |
|
Neither standalone nor YARN use env variables to create the executor's classpath, so I guess that's why Mesos was missed. I'd rather Mesos stop using env variables too, but that's a bigger change, and I want to get this in 2.2.0 to avoid a pretty user-visible regression. |
|
It looks like YARN just sets the generic java |
|
YARN does not run |
|
I'm gonna merge this to unblock 2.2; if there's a desire to clean up this code later, we can do it separately. |
Restore code that was removed as part of SPARK-17979, but instead of using the deprecated env variable name to propagate the class path, use a new one. Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend" manually. Author: Marcelo Vanzin <[email protected]> Closes #18037 from vanzin/SPARK-20814. (cherry picked from commit df64fa7) Signed-off-by: Marcelo Vanzin <[email protected]>
Restore code that was removed as part of SPARK-17979, but instead of using the deprecated env variable name to propagate the class path, use a new one. Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend" manually. Author: Marcelo Vanzin <[email protected]> Closes #18037 from vanzin/SPARK-20814.
Restore code that was removed as part of SPARK-17979, but instead of using the deprecated env variable name to propagate the class path, use a new one. Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend" manually. Author: Marcelo Vanzin <[email protected]> Closes apache#18037 from vanzin/SPARK-20814.
Restore code that was removed as part of SPARK-17979, but instead of
using the deprecated env variable name to propagate the class path, use
a new one.
Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend"
manually.