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

TestMiniYarnClusterNodeUtilization#testUpdateNodeUtilization fails due to heartbeat sync error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 2.9.1, 3.0.1, 2.8.4
    • Fix Version/s: 3.1.0, 2.10.0, 2.9.1, 3.0.1, 2.8.4
    • Component/s: test
    • Labels:
      None

      Description

      testUpdateNodeUtilization is failing. From a branch-2.8 run:

      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.013 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.TestMiniYarnClusterNodeUtilization
      testUpdateNodeUtilization(org.apache.hadoop.yarn.server.TestMiniYarnClusterNodeUtilization)  Time elapsed: 12.961 sec  <<< FAILURE!
      java.lang.AssertionError: Containers Utillization not propagated to RMNode expected:<<pmem:1024, vmem:2048, vCores:11.0>> but was:<null>
      	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.apache.hadoop.yarn.server.TestMiniYarnClusterNodeUtilization.verifySimulatedUtilization(TestMiniYarnClusterNodeUtilization.java:227)
      	at org.apache.hadoop.yarn.server.TestMiniYarnClusterNodeUtilization.testUpdateNodeUtilization(TestMiniYarnClusterNodeUtilization.java:116)
      

        Attachments

        1. YARN-7849.v1.patch
          3 kB
          Botong Huang
        2. YARN-7849.v2.patch
          4 kB
          Botong Huang
        3. YARN-7849.v3.patch
          4 kB
          Botong Huang
        4. YARN-7849-branch-2.8.v1.patch
          3 kB
          Botong Huang

          Issue Links

            Activity

              People

              • Assignee:
                botong Botong Huang
                Reporter:
                jlowe Jason Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: