Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6036

TestJobEndNotifier fails intermittently in branch-2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • None
    • None
    • Reviewed

    Description

      I have seen TestJobEndNotifier#testNotificationOnLastRetryUnregistrationFailure
      failing in branch-2 intermittently. I ran the test on my machine and it fails
      3 in 10 times.

      This is how the test fails.

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.472 sec <<<
      FAILURE! - in org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier
      testNotificationOnLastRetryUnregistrationFailure(org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier)
       Time elapsed: 8.389 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<0> but was:<1>
          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.mapreduce.v2.app.TestJobEndNotifier.testNotificationOnLastRetryUnregistrationFailure(TestJobEndNotifier.java:276)
      
      
      Results :
      
      Failed tests: 
        TestJobEndNotifier.testNotificationOnLastRetryUnregistrationFailure:276
      expected:<0> but was:<1>
      
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      

      Attachments

        1. mapreduce_6036.patch
          1 kB
          Chang Li

        Activity

          People

            lichangleo Chang Li
            mitdesai Mit Desai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: