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

Upgrading to JUnit 4.13 causes testcase TestFetcher.testCorruptedIFile() to fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0, 3.1.5, 3.3.1, 2.10.2, 3.2.3
    • Component/s: test
    • Labels:
      None

      Description

      See related ticket YARN-10460. JUnit 4.13 causes the same failure:

      [ERROR] Tests run: 16, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.851 s <<< FAILURE! - in org.apache.hadoop.mapreduce.task.reduce.TestFetcher
      [ERROR] testCorruptedIFile(org.apache.hadoop.mapreduce.task.reduce.TestFetcher)  Time elapsed: 0.15 s  <<< ERROR!
      java.lang.IllegalThreadStateException
      	at java.lang.ThreadGroup.addUnstarted(ThreadGroup.java:867)
      	at java.lang.Thread.init(Thread.java:405)
      	at java.lang.Thread.init(Thread.java:349)
      	at java.lang.Thread.<init>(Thread.java:678)
      	at java.util.concurrent.Executors$DefaultThreadFactory.newThread(Executors.java:613)
      	at org.apache.hadoop.thirdparty.com.google.common.util.concurrent.ThreadFactoryBuilder$1.newThread(ThreadFactoryBuilder.java:163)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:619)
      	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:932)
      	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1367)
      	at org.apache.hadoop.io.ReadaheadPool.submitReadahead(ReadaheadPool.java:159)
      	at org.apache.hadoop.io.ReadaheadPool.readaheadStream(ReadaheadPool.java:141)
      	at org.apache.hadoop.mapred.IFileInputStream.doReadahead(IFileInputStream.java:159)
      	at org.apache.hadoop.mapred.IFileInputStream.<init>(IFileInputStream.java:88)
      	at org.apache.hadoop.mapreduce.task.reduce.TestFetcher.testCorruptedIFile(TestFetcher.java:587)
      

        Attachments

        1. MAPREDUCE-7302-003.patch
          2 kB
          Peter Bacsko
        2. MAPREDUCE-7302-002.patch
          2 kB
          Peter Bacsko
        3. MAPREDUCE-7302-001.patch
          2 kB
          Peter Bacsko

          Issue Links

            Activity

              People

              • Assignee:
                pbacsko Peter Bacsko
                Reporter:
                pbacsko Peter Bacsko
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: