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

usedResource from rootQueue metrics may get stale data for FS scheduler after recovering the container

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Failure trace is as follows

      Tests run: 28, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 284.078 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart
      testSchedulerRecovery[1](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart)  Time elapsed: 6.502 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<6144> but was:<8192>
      	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.junit.Assert.assertEquals(Assert.java:542)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.assertMetrics(TestWorkPreservingRMRestart.java:853)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.checkFSQueue(TestWorkPreservingRMRestart.java:342)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testSchedulerRecovery(TestWorkPreservingRMRestart.java:241)
      

      Attachments

        1. YARN-3790.000.patch
          3 kB
          Zhihai Xu

        Issue Links

          Activity

            People

              zxu Zhihai Xu
              rohithsharma Rohith Sharma K S
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: