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

TestApplicationPriority#testApplicationPriorityAllocationWithChangeInPriority fails occasionally

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • test
    • None
    • jenkins

    • Reviewed

    Description

      TestApplicationPriority#testApplicationPriorityAllocationWithChangeInPriority has sporadically failed in precommit builds. Sample failure:

      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=768m; support was removed in 8.0
      Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority
      Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 116.776 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority
      testApplicationPriorityAllocationWithChangeInPriority(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority)  Time elapsed: 50.687 sec  <<< FAILURE!
      java.lang.AssertionError: Attempt state is not correct (timedout): expected: SCHEDULED actual: ALLOCATED for the application attempt appattempt_1453255879005_0002_000001
      	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.MockRM.launchAM(MockRM.java:818)
      	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testApplicationPriorityAllocationWithChangeInPriority(TestApplicationPriority.java:494)
      

      Attachments

        1. 0001-YARN-4614.patch
          1 kB
          Sunil G

        Activity

          People

            sunilg Sunil G
            jlowe Jason Darrell Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: