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 pig-user by Russell Jurney, 1 year ago
Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
via pig-user by Russell Jurney, 9 months ago
Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
via pig-user by Russell Jurney, 9 months ago
Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
via pig-user by Russell Jurney, 1 year ago
Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
via pig-user by Russell Jurney, 9 months ago
Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
via pig-user by Russell Jurney, 1 year ago
Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
java.lang.IncompatibleClassChangeError: Found class
org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected	at org.apache.pig.piggybank.storage.XMLLoader$XMLRecordReader.initialize(XMLLoader.java:102)	at org.apache.pig.impl.io.ReadToEndLoader.initializeReader(ReadToEndLoader.java:210)	at org.apache.pig.impl.io.ReadToEndLoader.getNextHelper(ReadToEndLoader.java:248)	at org.apache.pig.impl.io.ReadToEndLoader.getNext(ReadToEndLoader.java:229)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLoad.getNextTuple(POLoad.java:137)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:307)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLimit.getNextTuple(POLimit.java:122)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:307)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POForEach.getNextTuple(POForEach.java:246)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:307)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POStore.getNextTuple(POStore.java:159)	at org.apache.pig.backend.hadoop.executionengine.fetch.FetchLauncher.runPipeline(FetchLauncher.java:161)	at org.apache.pig.backend.hadoop.executionengine.fetch.FetchLauncher.launchPig(FetchLauncher.java:81)	at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:278)	at org.apache.pig.PigServer.launchPlan(PigServer.java:1390)	at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1375)	at org.apache.pig.PigServer.storeEx(PigServer.java:1034)	at org.apache.pig.PigServer.store(PigServer.java:997)	at org.apache.pig.PigServer.openIterator(PigServer.java:910)	at org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:746)	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:372)	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:230)	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:205)	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:66)	at org.apache.pig.Main.run(Main.java:558)	at org.apache.pig.Main.main(Main.java:170)