Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7308

TestApplicationACLs fails with FairScheduler

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      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
      

        Attachments

        1. YARN-7308.002.patch
          8 kB
          Robert Kanter
        2. YARN-7308.001.patch
          4 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: