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
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 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