You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Jason E Tedor (JIRA)" <ji...@apache.org> on 2015/03/29 03:14:52 UTC

[jira] [Commented] (MRUNIT-221) Wrong Generic for setKeyGroupingComparator/setKeyOrderComparator in MultipleInputsMapReduceDriverBase

    [ https://issues.apache.org/jira/browse/MRUNIT-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385594#comment-14385594 ] 

Jason E Tedor commented on MRUNIT-221:
--------------------------------------

I have committed your patch to trunk. Thank you very much for identifying and fixing this Mathias!

> Wrong Generic for setKeyGroupingComparator/setKeyOrderComparator in MultipleInputsMapReduceDriverBase
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MRUNIT-221
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-221
>             Project: MRUnit
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Mathias RĂ¼diger
>         Attachments: MRUNIT-221.patch
>
>
> {{setKeyGroupingComparator(final RawComparator<K2> groupingComparator)}} and {{setKeyOrderComparator(final RawComparator<K2> orderComparator)}} are both using the {{K2}} generic which is the "The reduce output key type".
> Its probably just a c&p oversight since the same methods are present in the MapReduceDriverBase class. Here the generic {{K2}} is the mapper output key though.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)