MRUnit
  1. MRUnit
  2. MRUNIT-99

dont force K2 in MapReduceDriver's to be Comparable since Hadoop dont enforce this on the map output key and value classes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.1
    • Fix Version/s: 0.9.0
    • Labels:
      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

        Activity

        Jim Donofrio created issue -
        Jim Donofrio made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jim Donofrio
            Reporter:
            Jim Donofrio
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development