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

TestFairSchedulerPreemption fails inconsistently.

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Tests in TestFairSchedulerPreemption.java will inconsistently fail on trunk. An example stack trace:

      Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.879 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption
      testPreemptionSelectNonAMContainer[MinSharePreemptionWithDRF](org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption)  Time elapsed: 10.475 sec  <<< FAILURE!
      java.lang.AssertionError: Incorrect number of containers on the greedy app expected:<4> but was:<8>
      	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:555)
      	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption.verifyPreemption(TestFairSchedulerPreemption.java:288)
      	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption.testPreemptionSelectNonAMContainer(TestFairSchedulerPreemption.java:363)
      

      Attachments

        1. YARN-6249.001.patch
          1 kB
          Tao Jie
        2. YARN-6249.002.patch
          2 kB
          Tao Jie

        Activity

          People

            Tao Jie Tao Jie
            seanpo03 Sean Po
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: