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

TestAMRMClient#testAMRMClientWithContainerResourceChange fails intermittently

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha4
    • 3.4.0
    • yarn
    • None

    Description

      I'm seeing this unit test fail fairly often in trunk:

      testAMRMClientWithContainerResourceChange(org.apache.hadoop.yarn.client.api.impl.TestAMRMClient) Time elapsed: 5.113 sec <<< FAILURE!
      java.lang.AssertionError: expected:<1> but was:<0>
      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.client.api.impl.TestAMRMClient.doContainerResourceChange(TestAMRMClient.java:1087)
      at org.apache.hadoop.yarn.client.api.impl.TestAMRMClient.testAMRMClientWithContainerResourceChange(TestAMRMClient.java:963)

      Attachments

        1. YARN-6272-001.patch
          3 kB
          Prabhu Joseph
        2. YARN-6272.001.patch
          4 kB
          Andras Gyori

        Issue Links

          Activity

            People

              gandras Andras Gyori
              rchiang Ray Chiang
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: