Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4478 [Umbrella] : Track all the Test failures in YARN
  3. YARN-4615

TestAbstractYarnScheduler#testResourceRequestRecoveryToTheRightAppAttempt fails occasionally

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      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)
      
      

        Attachments

        1. 0001-YARN-4615.patch
          3 kB
          Sunil G
        2. 0002-YARN-4615.patch
          2 kB
          Sunil G
        3. 0003-YARN-4615.patch
          4 kB
          Sunil G
        4. 0004-YARN-4615.patch
          4 kB
          Sunil G
        5. 0005-YARN-4615.patch
          4 kB
          Sunil G

          Activity

            People

            • Assignee:
              sunilg Sunil G
              Reporter:
              jlowe Jason Darrell Lowe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment