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

TestJobCleanup fails because of RejectedExecutionException and NPE.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.23.11, 2.3.0
    • None
    • None
    • Reviewed

    Description

      org.apache.hadoop.mapred.TestJobCleanup can fail because of RejectedExecutionException by NonAggregatingLogHandler. This problem is described in YARN-1409. TestJobCleanup can still fail after fixing RejectedExecutionException, because of NPE by Job#getCounters()'s returning null.

      -------------------------------------------------------------------------------
      Test set: org.apache.hadoop.mapred.TestJobCleanup
      -------------------------------------------------------------------------------
      Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 140.933 sec <<< FAILURE! - in org.apache.hadoop.mapred.TestJobCleanup
      testCustomAbort(org.apache.hadoop.mapred.TestJobCleanup)  Time elapsed: 31.068 sec  <<< ERROR!
      java.lang.NullPointerException: null
              at org.apache.hadoop.mapred.TestJobCleanup.testFailedJob(TestJobCleanup.java:199)
              at org.apache.hadoop.mapred.TestJobCleanup.testCustomAbort(TestJobCleanup.java:296)
      

      Attachments

        1. MAPREDUCE-5623.1.patch
          1 kB
          Tsuyoshi Ozawa
        2. MAPREDUCE-5623.2.patch
          1 kB
          Jason Darrell Lowe
        3. MAPREDUCE-5623.3.patch
          2 kB
          Jason Darrell Lowe

        Issue Links

          Activity

            People

              jlowe Jason Darrell Lowe
              ozawa Tsuyoshi Ozawa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: