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

TestRM#testApplicationKillAtAcceptedState fails rarely due to race condition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0, 3.0.0-alpha4
    • 2.9.0, 3.0.0-alpha4, 2.8.2
    • test
    • None

    Description

      We've seen (very rarely) a test failure in TestRM#testApplicationKillAtAcceptedState

      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.server.resourcemanager.TestRM.testApplicationKillAtAcceptedState(TestRM.java:645)
      

      Attachments

        1. YARN-6359.003.patch
          2 kB
          Robert Kanter
        2. YARN-6359.002.patch
          2 kB
          Robert Kanter
        3. YARN-6359.001.patch
          1 kB
          Robert Kanter

        Activity

          People

            rkanter Robert Kanter
            rkanter Robert Kanter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: