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

Tom White updated MRUNIT-31:
----------------------------

    Attachment: MRUNIT-31.patch

Here's a patch that passes tests against Hadoop 0.23. It shouldn't be committed 
though, since it doesn't work with 0.20.

The problem is that Mapper.Context has a different constructor in 0.20 to 0.23 
- so it's not possible to write a subclass that works in both. The simplest 
reflective solution would be to use a mock object library. CGLIB would work too.

                
> 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

        

Reply via email to