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 "Mit Desai (JIRA)" <ji...@apache.org> on 2014/06/19 17:12:25 UTC

[jira] [Commented] (YARN-2178) TestApplicationMasterService sometimes fails in trunk

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

Mit Desai commented on YARN-2178:
---------------------------------

Hi Ted,
How did you reproduce this? I tried mvn clean test -Dtest=TestApplicationMasterService and I could not reproduce it even after running it couple of times.

> TestApplicationMasterService sometimes fails in trunk
> -----------------------------------------------------
>
>                 Key: YARN-2178
>                 URL: https://issues.apache.org/jira/browse/YARN-2178
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>            Priority: Minor
>              Labels: test
>
> From https://builds.apache.org/job/Hadoop-Yarn-trunk/587/ :
> {code}
> Running org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterService
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 55.763 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterService
> testInvalidContainerReleaseRequest(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterService)  Time elapsed: 41.336 sec  <<< FAILURE!
> java.lang.AssertionError: AppAttempt state is not correct (timedout) expected:<ALLOCATED> but was:<SCHEDULED>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.apache.hadoop.yarn.server.resourcemanager.MockAM.waitForState(MockAM.java:82)
> 	at org.apache.hadoop.yarn.server.resourcemanager.MockRM.sendAMLaunched(MockRM.java:401)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterService.testInvalidContainerReleaseRequest(TestApplicationMasterService.java:143)
> {code}



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