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

Jian He commented on YARN-1903:
-------------------------------

Looks good, one more suggestion, since the process is never started, we can add 
one more diagnostics to clarify that this is a not started container process.

> Killing Container on NEW and LOCALIZING will result in exitCode and 
> diagnostics not set
> ---------------------------------------------------------------------------------------
>
>                 Key: YARN-1903
>                 URL: https://issues.apache.org/jira/browse/YARN-1903
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: YARN-1903.1.patch
>
>
> 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