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

TestApplicationACLs fails with FairScheduler

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • test
    • None
    • 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.001.patch
          4 kB
          Robert Kanter
        2. YARN-7308.002.patch
          8 kB
          Robert Kanter

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment