TestSetFile is failing on trunk
-------------------------------
Key: HADOOP-6989
URL: https://issues.apache.org/jira/browse/HADOOP-6989
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 0.22.0
Reporter: Jakob Homan
Fix For: 0.22.0
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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.