-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-2481: The environment variables SPARK_HISTORY_OPTS is covered in spark-env.sh #1341
Conversation
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16460/ |
Jenkins, retest this please. |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16463/ |
Is there a specific issue you're trying to fix here? |
Before |
I'd rather do it differently in that case, if you really care about it. Instead of loading spark-env.sh, do this:
This restores the previous behaviour while still warning the user. |
Also, as a general comment, it's nice when the PR summary/description explain the problem being solved (not just what the patch is doing). |
Use |
LGTM. |
Looks good, but this patch seems to includes some unrelated diffs to SPARK-2481.
|
QA tests have started for PR 1341. This patch merges cleanly. |
QA results for PR 1341: |
@pwendell I think the PR can be merged into 1.1 |
QA tests have started for PR 1341. This patch merges cleanly. |
QA results for PR 1341: |
QA tests have started for PR 1341. This patch merges cleanly. |
QA results for PR 1341: |
@@ -22,4 +22,7 @@ | |||
sbin=`dirname "$0"` | |||
sbin=`cd "$sbin"; pwd` | |||
|
|||
. "$sbin/spark-config.sh" | |||
. "$SPARK_PREFIX/bin/load-spark-env.sh" |
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 believe you don't need to change this file, since we're not using any environment variables here. Also, spark-daemon.sh
actually already does this.
@witgo pending 1 more comment this LGTM |
@andrewor14 done |
…n spark-env.sh Author: witgo <witgo@qq.com> Author: GuoQiang Li <witgo@qq.com> Closes #1341 from witgo/history_env and squashes the following commits: b4fd9f8 [GuoQiang Li] review commit 0ebe401 [witgo] *-history-server.sh load spark-config.sh (cherry picked from commit 9f04db1) Signed-off-by: Andrew Or <andrewor14@gmail.com>
Thanks I merged this into master and 1.1 |
…n spark-env.sh Author: witgo <witgo@qq.com> Author: GuoQiang Li <witgo@qq.com> Closes apache#1341 from witgo/history_env and squashes the following commits: b4fd9f8 [GuoQiang Li] review commit 0ebe401 [witgo] *-history-server.sh load spark-config.sh
No description provided.