hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1903) TestNMClient fails occasionally
Date Fri, 04 Apr 2014 22:03:24 GMT

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

Mime
View raw message