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

Robert Kanter commented on YARN-6368:
-------------------------------------

[[email protected]], I was about to commit this but I ran the 
modified unit test against the latest trunk and it failed:
{noformat}
Running org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerResync
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 33.184 sec <<< 
FAILURE! - in org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerResync
testNMSentContainerStatusOnResync(org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerResync)
  Time elapsed: 0.73 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertFalse(Assert.java:64)
        at org.junit.Assert.assertFalse(Assert.java:74)
        at 
org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerResync.testNMSentContainerStatusOnResync(TestNodeManagerResync.java:363)
{noformat}
Can you look into this?

> 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
>
>
> 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