Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
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)