Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.1
-
None
Description
We should not force K2 in MapReduceDriver's to be Comparable because Hadoop does not enforce this on the map output key and value classes. This makes MRUnit difficult to use when using non Writable classes that dont need to be Comparable but define their own key comparators in the JobConf
I realized this after seeing [1] on stackoverflow. I am still trying to investigate if we have other conflicts with Avro
[1]: http://stackoverflow.com/questions/10119616/use-mrunit-and-avro-together