[
https://issues.apache.org/jira/browse/YARN-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13746747#comment-13746747
]
Jason Lowe commented on YARN-917:
---------------------------------
Patch looks OK to me. Shouldn't be too hard to write a unit test in
TestStagingCleanup that wraps the container allocator in a service and verifies
when the service is shutdown that the staging directory has not been deleted
but is deleted once the application stops.
Also this JIRA really should be in MAPREDUCE.
> 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
> Attachments: YARN-917.patch
>
>
--
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