[ https://issues.apache.org/jira/browse/YARN-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15396233#comment-15396233 ]
Eric Badger commented on YARN-1468: ----------------------------------- [~djp], you are correct. When I encountered the error in a test failure it was in the place as I explained it above. However, that failure is a different one than the stack trace that [~mitdesai] included. I should've included my own stack trace to make that point clear. I think that both point to issues, however. I've seen this test fail in a multitude of different ways. > TestRMRestart.testRMRestartWaitForPreviousAMToFinish get failed. > ---------------------------------------------------------------- > > Key: YARN-1468 > URL: https://issues.apache.org/jira/browse/YARN-1468 > Project: Hadoop YARN > Issue Type: Test > Components: resourcemanager > Reporter: Junping Du > Assignee: Junping Du > Priority: Critical > > Log is as following: > {code} > Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 149.968 sec > <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart > testRMRestartWaitForPreviousAMToFinish(org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) > Time elapsed: 44.197 sec <<< FAILURE! > junit.framework.AssertionFailedError: AppAttempt state is not correct > (timedout) expected:<ALLOCATED> but was:<SCHEDULED> > at junit.framework.Assert.fail(Assert.java:50) > at junit.framework.Assert.failNotEquals(Assert.java:287) > at junit.framework.Assert.assertEquals(Assert.java:67) > at > org.apache.hadoop.yarn.server.resourcemanager.MockAM.waitForState(MockAM.java:82) > at > org.apache.hadoop.yarn.server.resourcemanager.MockRM.sendAMLaunched(MockRM.java:292) > at > org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.launchAM(TestRMRestart.java:826) > at > org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartWaitForPreviousAMToFinish(TestRMRestart.java:464) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org