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

Ted Yu commented on YARN-2178:
------------------------------

I ran TestApplicationMasterService on Mac and it passed.

Let me loop this test on Linux.

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

Reply via email to