Skip to content
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-3779. yarn spark.yarn.applicationMaster.waitTries config should be... #3471

Closed
wants to merge 3 commits into from

Conversation

sryza
Copy link
Contributor

@sryza sryza commented Nov 26, 2014

... changed to a time period

@sryza
Copy link
Contributor Author

sryza commented Nov 26, 2014

@tgravescs

@SparkQA
Copy link

SparkQA commented Nov 26, 2014

Test build #23878 has started for PR 3471 at commit 12eb0cd.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Nov 26, 2014

Test build #23878 has finished for PR 3471 at commit 12eb0cd.

  • This patch passes all 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/23878/
Test PASSed.

@WangTaoTheTonic
Copy link
Contributor

Why we need a val waitTime = 100?

@@ -22,10 +22,12 @@ Most of the configs are the same for Spark on YARN as for other deployment modes
<table class="table">
<tr><th>Property Name</th><th>Default</th><th>Meaning</th></tr>
<tr>
<td><code>spark.yarn.applicationMaster.waitTries</code></td>
<td>10</td>
<td><code>spark.yarn.applicationMaster.waitTime</code></td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we rename it to spark.yarn.am.waitTime? (to be consistent with pr 3409 and possibly others)

Also it might be nice to append ms so user knows its specified in milliseconds

@sryza
Copy link
Contributor Author

sryza commented Dec 4, 2014

Thanks for the feedback, Tom. Updated the patch to reflect your and Wang Tao's comments.

I left out adding MS to the config name because it's inconsistent with all Spark's existing configs. I agree that it would have been better to start out including the units in config names, but I think it'll be confusing to different conventions for different configs here.

@SparkQA
Copy link

SparkQA commented Dec 4, 2014

Test build #24142 has started for PR 3471 at commit ce6dff2.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Dec 4, 2014

Test build #24142 has finished for PR 3471 at commit ce6dff2.

  • This patch passes all 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/24142/
Test PASSed.

@tgravescs
Copy link
Contributor

changes look good.

@WangTaoTheTonic
Copy link
Contributor

LGTM +1

@andrewor14
Copy link
Contributor

LGTM, but do we need to add backward compatibility? This patch seems to get rid of the old config altogether and Spark will silently ignore the setting if an old application configured this.

@sryza
Copy link
Contributor Author

sryza commented Dec 10, 2014

Updated patch uses the old property to set the wait time if the new one isn't set.

@AmplabJenkins
Copy link

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

@andrewor14
Copy link
Contributor

retest this please

@SparkQA
Copy link

SparkQA commented Dec 10, 2014

Test build #24293 has started for PR 3471 at commit 20b9887.

  • This patch merges cleanly.

@andrewor14
Copy link
Contributor

Hey @sryza unfortunately this will have to block until we figure out in #3409 what the appropriate naming scheme for AM configs to use collectively. Otherwise we might have two layers of deprecation, which will definitely be confusing to many users and developers.

@SparkQA
Copy link

SparkQA commented Dec 10, 2014

Test build #24293 has finished for PR 3471 at commit 20b9887.

  • This patch passes all 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/24293/
Test PASSed.

@sryza
Copy link
Contributor Author

sryza commented Dec 10, 2014

@andrewor14, makes sense.

@tgravescs
Copy link
Contributor

test this please

@tgravescs
Copy link
Contributor

this looks good. kicked jenkins to run again since last run was while ago.

@SparkQA
Copy link

SparkQA commented Dec 18, 2014

Test build #24593 has started for PR 3471 at commit 20b9887.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Dec 18, 2014

Test build #24593 has finished for PR 3471 at commit 20b9887.

  • This patch passes all 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/24593/
Test PASSed.

@tgravescs
Copy link
Contributor

Looks good, +1

@asfgit asfgit closed this in 253b72b Dec 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants