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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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 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
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.crunch.examples.WordCount.main(WordCount.java:76)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.