Description
TestApplicationACLs fails when using FairScheduler:
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 98.389 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestApplicationACLs testApplicationACLs(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationACLs) Time elapsed: 94.563 sec <<< FAILURE! java.lang.AssertionError: App State is not correct (timeout). expected:<FAILED> but was:<ACCEPTED> 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.MockRM.waitForState(MockRM.java:284) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationACLs.verifyInvalidQueueWithAcl(TestApplicationACLs.java:422) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationACLs.testApplicationACLs(TestApplicationACLs.java:186)
There's a bunch of messages like this in the output:
2017-10-09 17:00:54,572 INFO [main] resourcemanager.MockRM (MockRM.java:waitForState(277)) - App : application_1507593559080_0006 State is : ACCEPTED Waiting for state : FAILED