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

Miklos Szegedi edited comment on YARN-6368 at 4/7/17 5:29 PM:
--------------------------------------------------------------

Adding the final to the patch for branch-2.


was (Author: [email protected]):
Adding the final to the pach for branch-2.

> 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, 
> YARN-6368.002.patch, YARN-6368.003.patch, YARN-6368.004.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to