java.lang.IncompatibleClassChangeError

Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected at > org.apache.crunch.hadoop.mapreduce.lib.output.CrunchMultipleOutputs.getNamedOutputsList(CrunchMultipleOutputs.java:210) at > org.apache.crunch.hadoop.mapreduce.lib.output.CrunchMultipleOutputs.checkNamedOutputName(CrunchMultipleOutputs.java:197) at > org.apache.crunch.hadoop.mapreduce.lib.output.CrunchMultipleOutputs.addNamedOutput(CrunchMultipleOutputs.java:256) at > org.apache.crunch.io.impl.FileTargetImpl.configureForMapReduce(FileTargetImpl.java:65) at > org.apache.crunch.io.text.TextFileTarget.configureForMapReduce(TextFileTarget.java:70) at > org.apache.crunch.impl.mr.plan.MSCROutputHandler.configure(MSCROutputHandler.java:63) at > org.apache.crunch.io.impl.FileTargetImpl.accept(FileTargetImpl.java:71) at > org.apache.crunch.io.impl.SourceTargetImpl.accept(SourceTargetImpl.java:58) at > org.apache.crunch.impl.mr.plan.MSCROutputHandler.configureNode(MSCROutputHandler.java:51) at > org.apache.crunch.impl.mr.plan.JobPrototype.build(JobPrototype.java:138) at > org.apache.crunch.impl.mr.plan.JobPrototype.getCrunchJob(JobPrototype.java:114)

Solutions on the web2070

  • via incubator-crunch-user by Johnny Zhang, 9 months ago
    Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected at > org.apache.crunch.hadoop.mapreduce.lib.output.CrunchMultipleOutputs.getNamedOutputsList(CrunchMultipleOutputs.java:210) at
  • via incubator-crunch-user by Johnny Zhang, 1 year ago
    Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected at > org.apache.crunch.hadoop.mapreduce.lib.output.CrunchMultipleOutputs.getNamedOutputsList(CrunchMultipleOutputs.java:210) at
  • via grokbase.com by Unknown author, 1 year ago
    Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.getSplits(TableInputFormatBase.java:152) at org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:1063) at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1080)
  • Stack trace

    • java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected at > org.apache.crunch.hadoop.mapreduce.lib.output.CrunchMultipleOutputs.getNamedOutputsList(CrunchMultipleOutputs.java:210) at > org.apache.crunch.hadoop.mapreduce.lib.output.CrunchMultipleOutputs.checkNamedOutputName(CrunchMultipleOutputs.java:197) at > org.apache.crunch.hadoop.mapreduce.lib.output.CrunchMultipleOutputs.addNamedOutput(CrunchMultipleOutputs.java:256) at > org.apache.crunch.io.impl.FileTargetImpl.configureForMapReduce(FileTargetImpl.java:65) at > org.apache.crunch.io.text.TextFileTarget.configureForMapReduce(TextFileTarget.java:70) at > org.apache.crunch.impl.mr.plan.MSCROutputHandler.configure(MSCROutputHandler.java:63) at > org.apache.crunch.io.impl.FileTargetImpl.accept(FileTargetImpl.java:71) at > org.apache.crunch.io.impl.SourceTargetImpl.accept(SourceTargetImpl.java:58) at > org.apache.crunch.impl.mr.plan.MSCROutputHandler.configureNode(MSCROutputHandler.java:51) at > org.apache.crunch.impl.mr.plan.JobPrototype.build(JobPrototype.java:138) at > org.apache.crunch.impl.mr.plan.JobPrototype.getCrunchJob(JobPrototype.java:114) at org.apache.crunch.impl.mr.plan.MSCRPlanner.plan(MSCRPlanner.java:111) at org.apache.crunch.impl.mr.MRPipeline.plan(MRPipeline.java:144) at org.apache.crunch.impl.mr.MRPipeline.run(MRPipeline.java:154) at org.apache.crunch.impl.mr.MRPipeline.done(MRPipeline.java:183) at org.apache.crunch.examples.WordCount.run(WordCount.java:70) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.crunch.examples.WordCount.main(WordCount.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.