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

Tom White commented on MRUNIT-56:
---------------------------------

> I could be wrong, but the code itself works with both versions but the jar we 
> distribute only works with the version we compiled against. 

That's correct.

> From a tarball perspective, we could provide a single tar with two jars 
> inside. WIth maven, I guess users could select mrunit-0.8.0 or 
> mrunit-0.8.0-hadoop-0.20?

That's probably the best solution. How about mrunit-0.8.0 and 
mrunit-hadoop1-0.8.0 for the names?
                
> 0.8.0 release does not work with Hadoop 0.23
> --------------------------------------------
>
>                 Key: MRUNIT-56
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-56
>             Project: MRUnit
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Tom White
>            Priority: Blocker
>
> Unfortunately MRUNIT-31doesn't fix this. I get this failure:
> {noformat}
> java.lang.IncompatibleClassChangeError: Found interface 
> org.apache.hadoop.mapreduce.TaskInputOutputContext, but class was expected
>         at 
> org.apache.hadoop.mrunit.mapreduce.mock.MockContextWrapper.createCommon(MockContextWrapper.java:51)
>         at 
> org.apache.hadoop.mrunit.mapreduce.mock.MockMapContextWrapper.create(MockMapContextWrapper.java:65)
>         at 
> org.apache.hadoop.mrunit.mapreduce.mock.MockMapContextWrapper.<init>(MockMapContextWrapper.java:57)
>         at 
> org.apache.hadoop.mrunit.mapreduce.MapDriver.run(MapDriver.java:195)
>         at 
> org.apache.hadoop.mrunit.MapDriverBase.runTest(MapDriverBase.java:185)
>         at 
> v5.MaxTemperatureMapperTest.parsesMissingTemperature(MaxTemperatureMapperTest.java:34)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> {noformat}

--
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