[
https://issues.apache.org/jira/browse/MAPREDUCE-5086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617757#comment-13617757
]
Jason Lowe commented on MAPREDUCE-5086:
---------------------------------------
There are other examples of tests using MRAppMaster during multiple tests, and
MRApp is one example of how this could be handled. For example, we could put a
DefaultMetricsSystem.shutdown call in a try..finally block around the tests or
have an After method that calls it to make sure the metric registrations are
cleaned up after each test.
> MR app master deletes staging dir when sent a reboot command from the RM
> ------------------------------------------------------------------------
>
> Key: MAPREDUCE-5086
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5086
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: jian he
> Assignee: jian he
> Attachments: YARN-472.1.patch, YARN-472.2.patch, YARN-472.3.patch,
> YARN-472.4.patch, YARN-472.5.patch, YARN-472.6.patch
>
>
> If the RM is restarted when the MR job is running, then it sends a reboot
> command to the job. The job ends up deleting the staging dir and that causes
> the next attempt to fail.
--
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