[
https://issues.apache.org/jira/browse/YARN-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723441#comment-13723441
]
Jian He commented on YARN-917:
------------------------------
The above solution looks good. thinking another way: Does it make sense just to
move "addService(createStagingDirCleaningService());" before
"addIfService(containerAllocator);" inside MRAppMaster ? In this way, when MR
stops, cleanup staging dir will be called after unregister. This looks simpler.
> Job can fail when RM restarts after staging dir is cleaned but before MR
> successfully unregister with RM
> --------------------------------------------------------------------------------------------------------
>
> Key: YARN-917
> URL: https://issues.apache.org/jira/browse/YARN-917
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Reporter: Jian He
> Assignee: Jian He
>
--
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