You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "jian he (JIRA)" <ji...@apache.org> on 2013/03/15 21:52:14 UTC

[jira] [Commented] (YARN-472) MR app master deletes staging dir when sent a reboot command from the RM

    [ https://issues.apache.org/jira/browse/YARN-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13603836#comment-13603836 ] 

jian he commented on YARN-472:
------------------------------

The approach used is to add a separate JobStateInternal.REBOOT to distinguish from the JobStateInternal.ERROR, such that, when the job is shutdown it will not delete the staging dir if its on JobStateInternal.REBOOT & its not the last retry
                
> MR app master deletes staging dir when sent a reboot command from the RM
> ------------------------------------------------------------------------
>
>                 Key: YARN-472
>                 URL: https://issues.apache.org/jira/browse/YARN-472
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: jian he
>            Assignee: jian he
>
> 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