-
Notifications
You must be signed in to change notification settings - Fork 29k
SPARK-2058: Overriding SPARK_HOME/conf with SPARK_CONF_DIR #2481
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
|
QA tests have started for PR 2481 at commit
|
|
QA tests have finished for PR 2481 at commit
|
bin/compute-classpath.cmd
Outdated
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.
Why do you have an extra % here before CLASSPATH? What does that do?
|
Minor comments, but LGTM otherwise. |
|
@andrewor14 The trailing % came from a bad copy paste, nice catch :) Double percent exists but was wrong in this case, http://stackoverflow.com/questions/14509652/what-is-the-difference-between-and-in-a-cmd-file. |
|
QA tests have started for PR 2481 at commit
|
|
QA tests have finished for PR 2481 at commit
|
|
Test PASSed. |
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 would move this back down to where the comment is, but this is trivial I can fix it myself when I merge it.
|
LGTM. I'm merging this into master and 1.1. Thanks @EugenCepoi! |
Update of PR #997. With this PR, setting SPARK_CONF_DIR overrides SPARK_HOME/conf (not only spark-defaults.conf and spark-env). Author: EugenCepoi <[email protected]> Closes #2481 from EugenCepoi/SPARK-2058 and squashes the following commits: 0bb32c2 [EugenCepoi] use orElse orNull and fixing trailing percent in compute-classpath.cmd 77f35d7 [EugenCepoi] SPARK-2058: Overriding SPARK_HOME/conf with SPARK_CONF_DIR (cherry picked from commit f0811f9) Signed-off-by: Andrew Or <[email protected]>
|
@andrewor14 great! Glad to see it merged into master :) |
|
@andrewor14 #2541 looks like it fixes one more place where we need to handle the override. |
|
Ah yes I believe that's for the Spark daemons. We can merge that separately. |
Update of PR #997.
With this PR, setting SPARK_CONF_DIR overrides SPARK_HOME/conf (not only spark-defaults.conf and spark-env).