[
https://issues.apache.org/jira/browse/YARN-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jian He updated YARN-534:
-------------------------
Attachment: YARN-534.5.patch
Address last comments.
DEFAULT_RM_AM_MAX_ATTEMPTS is already overridden as 5 in the very beginning
> AM max attempts is not checked when RM restart and try to recover attempts
> --------------------------------------------------------------------------
>
> Key: YARN-534
> URL: https://issues.apache.org/jira/browse/YARN-534
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Reporter: Jian He
> Assignee: Jian He
> Fix For: 2.0.5-beta
>
> Attachments: YARN-534.1.patch, YARN-534.2.patch, YARN-534.3.patch,
> YARN-534.4.patch, YARN-534.5.patch
>
>
> Currently,AM max attempts is only checked if the current attempt fails and
> check to see whether to create new attempt. If the RM restarts before the
> max-attempt fails, it'll not clean the state store, when RM comes back, it
> will retry attempt again.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira