-
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-2165][YARN]add support for setting maxAppAttempts in the ApplicationSubmissionContext #3878
Conversation
Test build #24995 has started for PR 3878 at commit
|
Test build #24995 has finished for PR 3878 at commit
|
Test PASSed. |
My opinion is that this is more of a general app property than an AM property, so I'd go for |
@sryza Thanks. That makes sense. |
I would prefer to see it called spark.yarn.maxAppAttempts as well. |
<td>yarn.resourcemanager.am.max-attempts in YARN</td> | ||
<td> | ||
The maximum number of ApplicationMaster attempts. | ||
It should not be larger than the global number set by resourcemanager. Otherwise, it will be override. |
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.
Perhaps rephrase slightly:
The maximum number of attempts that will be made to submit the application. It should be no larger than the global number of max attempts in the YARN configuration.
Test build #25124 has started for PR 3878 at commit
|
Test build #25125 has started for PR 3878 at commit
|
I changed the name to "spark.yarn.maxAppAttempts", though I think |
Test build #25124 has finished for PR 3878 at commit
|
Test PASSed. |
Test build #25125 has finished for PR 3878 at commit
|
Test PASSed. |
Thanks @WangTaoTheTonic changes look good. |
...xt
https://issues.apache.org/jira/browse/SPARK-2165
I still have 2 questions: