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

Zhijie Shen commented on YARN-1903:
-----------------------------------

I did more investigation. Instead of a test failure, it sound more like a bug 
on container life cycle to me:

1. If a container is killed on NEW, the exit code and diagnostics will never be 
set.
2. If a container is killed on LOCALIZING, the exit code will never be set.

> TestNMClient fails occasionally
> -------------------------------
>
>                 Key: YARN-1903
>                 URL: https://issues.apache.org/jira/browse/YARN-1903
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>
> The container status after stopping container is not expected.
> {code}
> java.lang.AssertionError: 4: 
>       at org.junit.Assert.fail(Assert.java:93)
>       at org.junit.Assert.assertTrue(Assert.java:43)
>       at 
> org.apache.hadoop.yarn.client.api.impl.TestNMClient.testGetContainerStatus(TestNMClient.java:382)
>       at 
> org.apache.hadoop.yarn.client.api.impl.TestNMClient.testContainerManagement(TestNMClient.java:346)
>       at 
> org.apache.hadoop.yarn.client.api.impl.TestNMClient.testNMClient(TestNMClient.java:226)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to