Skip to content

Conversation

@EugenCepoi
Copy link
Contributor

Update of PR #997.

With this PR, setting SPARK_CONF_DIR overrides SPARK_HOME/conf (not only spark-defaults.conf and spark-env).

@SparkQA
Copy link

SparkQA commented Sep 21, 2014

QA tests have started for PR 2481 at commit 77f35d7.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Sep 21, 2014

QA tests have finished for PR 2481 at commit 77f35d7.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Contributor

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?

@andrewor14
Copy link
Contributor

Minor comments, but LGTM otherwise.

@EugenCepoi
Copy link
Contributor Author

@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.

@SparkQA
Copy link

SparkQA commented Oct 3, 2014

QA tests have started for PR 2481 at commit 0bb32c2.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 3, 2014

QA tests have finished for PR 2481 at commit 0bb32c2.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/21243/

Copy link
Contributor

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.

@andrewor14
Copy link
Contributor

LGTM. I'm merging this into master and 1.1. Thanks @EugenCepoi!

@asfgit asfgit closed this in f0811f9 Oct 3, 2014
asfgit pushed a commit that referenced this pull request Oct 3, 2014
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]>
@EugenCepoi
Copy link
Contributor Author

@andrewor14 great! Glad to see it merged into master :)

@JoshRosen
Copy link
Contributor

@andrewor14 #2541 looks like it fixes one more place where we need to handle the override.

@andrewor14
Copy link
Contributor

Ah yes I believe that's for the Spark daemons. We can merge that separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants