Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1512

TestTextInputFormat fails on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • None
    • None
    • Windows

    Description

      Here is the output produced by the test:

      Testsuite: org.apache.hadoop.mapred.TestTextInputFormat
      Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 8.828 sec
      ------------- Standard Output ---------------
      2007-06-20 18:49:53,064 INFO mapred.TestTextInputFormat (TestTextInputFormat.java:testFormat(58)) - seed = -1045123620
      2007-06-20 18:50:01,830 WARN util.NativeCodeLoader (NativeCodeLoader.java:<clinit>(50)) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      ------------- ---------------- ---------------

      Testcase: testFormat took 8.75 sec
      Testcase: testUTF8 took 0 sec
      Testcase: testNewLines took 0 sec
      Testcase: testGzip took 0.031 sec
      Testcase: testGzipEmpty took 0.047 sec
      FAILED
      Compressed files of length 0 are not returned from FileInputFormat.getSplits(). expected:<1> but was:<3>
      junit.framework.AssertionFailedError: Compressed files of length 0 are not returned from FileInputFormat.getSplits(). expected:<1> but was:<3>
      at org.apache.hadoop.mapred.TestTextInputFormat.testGzipEmpty(TestTextInputFormat.java:248)

      Attachments

        1. HADOOP_1512_1.patch
          0.4 kB
          Senthil Subramanian

        Activity

          People

            Unassigned Unassigned
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: