[
https://issues.apache.org/jira/browse/MRUNIT-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142774#comment-13142774
]
Brock Noland commented on MRUNIT-31:
------------------------------------
I have mock code which is working with 0.20. It compiles against 0.23 but the
tests fail as there is an ugly cast in o.a.h.mapreduce.Reducer:
// If a back up store is used, reset it
((ReduceContext.ValueIterator)
(context.getValues().iterator())).resetBackupStore();
That should really being using instanceof. Looks like it was introduced in 0.21
or in another 0.20 branch.
> Support Hadoop 0.22 and 0.23
> ----------------------------
>
> Key: MRUNIT-31
> URL: https://issues.apache.org/jira/browse/MRUNIT-31
> Project: MRUnit
> Issue Type: Improvement
> Reporter: Tom White
> Attachments: MRUNIT-31.patch, MRUNIT-31.patch
>
>
> The new MapReduce API changed in 0.21 (MAPREDUCE-954) in such a way as to
> break MRUnit.
--
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