Uploaded image for project: 'MRUnit'
  1. MRUnit
  2. MRUNIT-56

0.8.0 release does not work with Hadoop 0.23

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • 0.8.1
    • None

    Description

      Unfortunately MRUNIT-31doesn't fix this. I get this failure:

      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)
      

      Attachments

        1. mrunit-pom-test.diff
          2 kB
          Brock Noland

        Activity

          People

            brocknoland Brock Noland
            tomwhite Thomas White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: