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

Haibo Chen commented on YARN-6368:
----------------------------------

Thanks [~miklos.szeg...@cloudera.com] for the update! The patch LGTM. +1 
nonbinding

> Decommissioning an NM results in a -1 exit code
> -----------------------------------------------
>
>                 Key: YARN-6368
>                 URL: https://issues.apache.org/jira/browse/YARN-6368
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Miklos Szegedi
>            Assignee: Miklos Szegedi
>            Priority: Minor
>         Attachments: YARN-6368.000.patch, YARN-6368.001.patch
>
>
> In NodeManager.java we should exit normally in case the RM shuts down the 
> node:
> {code}
>         } finally {
>           if (shouldExitOnShutdownEvent
>               && !ShutdownHookManager.get().isShutdownInProgress()) {
>             ExitUtil.terminate(-1);
>           }
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to