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

[JDK8] TestCombineFileInputFormat failed on JDK8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1, 2.7.5
    • None
    • None
    • Reviewed

    Description

      The error msg:

      testSplitPlacementForCompressedFiles(org.apache.hadoop.mapreduce.lib.input.TestCombineFileInputFormat)  Time elapsed: 2.487 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<2> but was:<1>
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.Assert.failNotEquals(Assert.java:329)
      	at junit.framework.Assert.assertEquals(Assert.java:78)
      	at junit.framework.Assert.assertEquals(Assert.java:234)
      	at junit.framework.Assert.assertEquals(Assert.java:241)
      	at junit.framework.TestCase.assertEquals(TestCase.java:409)
      	at org.apache.hadoop.mapreduce.lib.input.TestCombineFileInputFormat.testSplitPlacementForCompressedFiles(TestCombineFileInputFormat.java:911)
      
      testSplitPlacement(org.apache.hadoop.mapreduce.lib.input.TestCombineFileInputFormat)  Time elapsed: 0.985 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<2> but was:<1>
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.Assert.failNotEquals(Assert.java:329)
      	at junit.framework.Assert.assertEquals(Assert.java:78)
      	at junit.framework.Assert.assertEquals(Assert.java:234)
      	at junit.framework.Assert.assertEquals(Assert.java:241)
      	at junit.framework.TestCase.assertEquals(TestCase.java:409)
      	at org.apache.hadoop.mapreduce.lib.input.TestCombineFileInputFormat.testSplitPlacement(TestCombineFileInputFormat.java:368)
      

      Attachments

        1. MAPREDUCE-6165-001.patch
          34 kB
          Akira Ajisaka
        2. MAPREDUCE-6165-002.patch
          66 kB
          Akira Ajisaka
        3. MAPREDUCE-6165-003.patch
          65 kB
          Tsuyoshi Ozawa
        4. MAPREDUCE-6165-003.patch
          65 kB
          Akira Ajisaka
        5. MAPREDUCE-6165-004.patch
          65 kB
          Akira Ajisaka
        6. MAPREDUCE-6165-reproduce.patch
          2 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              aajisaka Akira Ajisaka
              ywskycn Wei Yan
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: