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

TestSetFile is failing on trunk

    XMLWordPrintableJSON

Details

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

    Description

      Testsuite: org.apache.hadoop.io.TestSetFile
      Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.015 sec
      ------------- Standard Output ---------------
      2010-10-04 16:32:01,030 INFO io.TestSetFile (TestSetFile.java:generate(56)) - generating 10000 records in memory
      2010-10-04 16:32:01,249 INFO io.TestSetFile (TestSetFile.java:generate(63)) - sorting 10000 records
      2010-10-04 16:32:01,350 INFO io.TestSetFile (TestSetFile.java:writeTest(72)) - creating with 10000 records
      ------------- ---------------- ---------------

      Testcase: testSetFile took 0.964 sec
      Caused an ERROR
      key class or comparator option must be set
      java.lang.IllegalArgumentException: key class or comparator option must be set
      at org.apache.hadoop.io.MapFile$Writer.<init>(MapFile.java:247)
      at org.apache.hadoop.io.SetFile$Writer.<init>(SetFile.java:60)
      at org.apache.hadoop.io.TestSetFile.writeTest(TestSetFile.java:73)
      at org.apache.hadoop.io.TestSetFile.testSetFile(TestSetFile.java:45)

      Attachments

        1. 6989-0.patch
          0.6 kB
          Christopher Douglas

        Activity

          People

            cdouglas Christopher Douglas
            jghoman Jakob Homan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: