You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Jim Donofrio (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/16 04:31:16 UTC

[jira] [Resolved] (MRUNIT-99) dont force K2 in MapReduceDriver's to be Comparable since Hadoop dont enforce this on the map output key and value classes

     [ https://issues.apache.org/jira/browse/MRUNIT-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Donofrio resolved MRUNIT-99.
--------------------------------

    Resolution: Fixed
    
> dont force K2 in MapReduceDriver's to be Comparable since Hadoop dont enforce this on the map output key and value classes
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRUNIT-99
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-99
>             Project: MRUnit
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: Jim Donofrio
>            Assignee: Jim Donofrio
>             Fix For: 0.9.0
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira