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
Conversation
Test build #23878 has started for PR 3471 at commit
|
Test build #23878 has finished for PR 3471 at commit
|
Test PASSed. |
Why we need a |
@@ -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> |
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.
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
12eb0cd
to
ce6dff2
Compare
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. |
Test build #24142 has started for PR 3471 at commit
|
Test build #24142 has finished for PR 3471 at commit
|
Test PASSed. |
changes look good. |
LGTM +1 |
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. |
… be changed to a time period
ce6dff2
to
20b9887
Compare
Updated patch uses the old property to set the wait time if the new one isn't set. |
Test FAILed. |
retest this please |
Test build #24293 has started for PR 3471 at commit
|
Test build #24293 has finished for PR 3471 at commit
|
Test PASSed. |
@andrewor14, makes sense. |
test this please |
this looks good. kicked jenkins to run again since last run was while ago. |
Test build #24593 has started for PR 3471 at commit
|
Test build #24593 has finished for PR 3471 at commit
|
Test PASSed. |
Looks good, +1 |
... changed to a time period