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)

pig-user | Russell Jurney | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 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)
  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 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)

    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(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()
    2. org.apache.pig
      ReadToEndLoader.getNext
      1. org.apache.pig.impl.io.ReadToEndLoader.getNext(ReadToEndLoader.java:229)
      1 frame