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 "Miklos Szegedi (JIRA)" <ji...@apache.org> on 2017/03/20 21:38:42 UTC

[jira] [Updated] (YARN-6368) Decommissioning an NM results in a -1 exit code

     [ https://issues.apache.org/jira/browse/YARN-6368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Miklos Szegedi updated YARN-6368:
---------------------------------
    Attachment: YARN-6368.000.patch

Attaching patch

> 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
>
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org