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

pig-user | Russell Jurney | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

    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
      PigRecordReader.initialize
      1. org.apache.pig.piggybank.storage.XMLLoader$XMLRecordReader.initialize(XMLLoader.java:102)
      2. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigRecordReader.initialize(PigRecordReader.java:181)
      2 frames
    3. Hadoop
      LocalJobRunner$Job.run
      1. org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.initialize(MapTask.java:522)
      2. org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:763)
      3. org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
      4. org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212)
      4 frames