mrunit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (Commented) (JIRA)" <>
Subject [jira] [Commented] (MRUNIT-56) 0.8.0 release does not work with Hadoop 0.23
Date Sun, 05 Feb 2012 02:20:53 GMT


Brock Noland commented on MRUNIT-56:

Via profiles I was able to get a tar.gz file with a version of the code built with and 0.20
and 0.23 branch:

[noland@localhost mrunit-0.8.0-incubating]$ tar -ztvf target/mrunit-0.8.0-incubating-dist.tar.gz
 | grep jar
-rw-rw-r-- noland/noland 77811 2012-02-04 20:09 mrunit-0.8.0-incubating/mrunit-0.8.0-incubating-0.23.1-SNAPSHOT.jar
-rw-rw-r-- noland/noland 75681 2012-02-04 20:10 mrunit-0.8.0-incubating/mrunit-0.8.0-incubating-hadoop-0.20.jar

I used profiles as specified here:

along with the current profiles we had. However, I am not clear on how this will work when
we deploy to the maven repo since it appears to do a clean and I had to do mvn package -Phadoop.20
and separately mvn package -Phadoop-0.23 to build the two jars.

mvn clean deploy -Pdeploy -Pjavadoc

Next week I should have my maven book back which will probably help.
> 0.8.0 release does not work with Hadoop 0.23
> --------------------------------------------
>                 Key: MRUNIT-56
>                 URL:
>             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(
>         at org.apache.hadoop.mrunit.mapreduce.mock.MockMapContextWrapper.create(
>         at org.apache.hadoop.mrunit.mapreduce.mock.MockMapContextWrapper.<init>(
>         at
>         at org.apache.hadoop.mrunit.MapDriverBase.runTest(
>         at v5.MaxTemperatureMapperTest.parsesMissingTemperature(
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> {noformat}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message