[ https://issues.apache.org/jira/browse/MRUNIT-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385597#comment-14385597
]
Hudson commented on MRUNIT-221:
-------------------------------
SUCCESS: Integrated in mrunit-trunk #1127 (See [https://builds.apache.org/job/mrunit-trunk/1127/])
MRUNIT-221: Wrong Generic for setKeyGroupingComparator/setKeyOrderComparator in MultipleInputsMapReduceDriverBase
(Contributed by Mathias Rüdiger via Jason Tedor) (jasontedor: rev 98d08f2d11165c39bf37c9d9a7d7489ec3e60c13)
* src/main/java/org/apache/hadoop/mrunit/internal/driver/MultipleInputsMapReduceDriverBase.java
> 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
> Fix For: 1.2.0
>
> 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)
|