Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Sometimes TestAbstractYarnScheduler#testResourceRequestRecoveryToTheRightAppAttempt will fail like this:
org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler testResourceRequestRecoveryToTheRightAppAttempt[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 77.427 sec <<< FAILURE! java.lang.AssertionError: Attempt state is not correct (timedout): expected: SCHEDULED actual: ALLOCATED for the application attempt appattempt_1453254869107_0001_000002 at org.junit.Assert.fail(Assert.java:88) at org.apache.hadoop.yarn.server.resourcemanager.MockRM.waitForState(MockRM.java:197) at org.apache.hadoop.yarn.server.resourcemanager.MockRM.waitForState(MockRM.java:172) at org.apache.hadoop.yarn.server.resourcemanager.MockRM.waitForAttemptScheduled(MockRM.java:831) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testResourceRequestRecoveryToTheRightAppAttempt(TestAbstractYarnScheduler.java:572)