java.lang.IncompatibleClassChangeError: Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected

pig-user | Russell Jurney | 2 years ago
  1. 0

    Re: Pig 0.14 - Download, no hadoop install, local mode doesn't work?

    pig-user | 2 years ago | Russell Jurney
    java.lang.IncompatibleClassChangeError: Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
  2. 0

    Re: Pig 0.14 - Download, no hadoop install, local mode doesn't work?

    pig-user | 2 years ago | Russell Jurney
    java.lang.IncompatibleClassChangeError: Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
  3. 0

    Unable to Read/Write Avro RDD on cluster. (YARN cluster)

    Stack Overflow | 2 years ago | deepujain
    java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spark App exception running in IntelliJ IDEA

    Stack Overflow | 2 years ago | guanjunwang
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  6. 0

    GitHub comment 25#159776489

    GitHub | 1 year ago | sadikovi
    java.lang.IncompatibleClassChangeError: Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected

      at org.apache.pig.piggybank.storage.XMLLoader$XMLRecordReader.initialize()
    2. org.apache.pig
      Main.main
      1. org.apache.pig.piggybank.storage.XMLLoader$XMLRecordReader.initialize(XMLLoader.java:102)
      2. org.apache.pig.impl.io.ReadToEndLoader.initializeReader(ReadToEndLoader.java:210)
      3. org.apache.pig.impl.io.ReadToEndLoader.getNextHelper(ReadToEndLoader.java:248)
      4. org.apache.pig.impl.io.ReadToEndLoader.getNext(ReadToEndLoader.java:229)
      5. org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLoad.getNextTuple(POLoad.java:137)
      6. org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:307)
      7. org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLimit.getNextTuple(POLimit.java:122)
      8. org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:307)
      9. org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POForEach.getNextTuple(POForEach.java:246)
      10. org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:307)
      11. org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POStore.getNextTuple(POStore.java:159)
      12. org.apache.pig.backend.hadoop.executionengine.fetch.FetchLauncher.runPipeline(FetchLauncher.java:161)
      13. org.apache.pig.backend.hadoop.executionengine.fetch.FetchLauncher.launchPig(FetchLauncher.java:81)
      14. org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:278)
      15. org.apache.pig.PigServer.launchPlan(PigServer.java:1390)
      16. org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1375)
      17. org.apache.pig.PigServer.storeEx(PigServer.java:1034)
      18. org.apache.pig.PigServer.store(PigServer.java:997)
      19. org.apache.pig.PigServer.openIterator(PigServer.java:910)
      20. org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:746)
      21. org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:372)
      22. org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:230)
      23. org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:205)
      24. org.apache.pig.tools.grunt.Grunt.run(Grunt.java:66)
      25. org.apache.pig.Main.run(Main.java:558)
      26. org.apache.pig.Main.main(Main.java:170)
      26 frames