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

TestWorkPreservingRMRestart#testCapacitySchedulerRecovery fails intermittently

    XMLWordPrintableJSON

    Details

    • Type: Test
    • 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 TestWorkPreservingRMRestart#testCapacitySchedulerRecovery fails randomly.

      java.lang.AssertionError: expected:<<memory:2048, vCores:2>> but was:<<memory:1024, vCores:1>>
      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.junit.Assert.assertEquals(Assert.java:144)
      at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.checkCSLeafQueue(TestWorkPreservingRMRestart.java:289)
      at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testCapacitySchedulerRecovery(TestWorkPreservingRMRestart.java:501)
      

        Attachments

        1. YARN-4989.patch
          1 kB
          Ajith S

          Activity

            People

            • Assignee:
              ajithshetty Ajith S
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: