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

Stack Overflow | Rahul | 4 months ago
  1. 0

    Pig command issue 'Failed to read data from "/pigdata/student"'

    Stack Overflow | 4 months ago | Rahul
    java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected
  2. 0

    pig 0.12.0 incompatibility with hadoop 2.2.0

    GitHub | 3 years ago | tonycpsu
    java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected
  3. 0

    Exception running Pig with Hadoop 2.3.0

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

    Automated exception search integrated into your IDE

  5. 0

    Can I run pig0.12 with hadoop-2.2.0 distribution?

    Stack Overflow | 3 years ago | ykesh
    java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected
  6. 0

    Pig Error when trying to dump table

    Stack Overflow | 2 years ago | Phreakradio
    java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

    1 unregistered visitors
    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 interface org.apache.hadoop.mapreduce.JobContext, but class was expected

      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat.setupUdfEnvAndStores()
    2. org.apache.pig
      PigOutputFormat.checkOutputSpecs
      1. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat.setupUdfEnvAndStores(PigOutputFormat.java:235)
      2. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat.checkOutputSpecs(PigOutputFormat.java:183)
      2 frames
    3. Hadoop
      Job$10.run
      1. org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:562)
      2. org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:432)
      3. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1296)
      4. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1293)
      4 frames
    4. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:422)
      2 frames
    5. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
      1 frame
    6. Hadoop
      JobControl.run
      1. org.apache.hadoop.mapreduce.Job.submit(Job.java:1293)
      2. org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.submit(ControlledJob.java:335)
      3. org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl.run(JobControl.java:240)
      3 frames
    7. org.apache.pig
      PigJobControl.run
      1. org.apache.pig.backend.hadoop20.PigJobControl.run(PigJobControl.java:121)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame
    9. org.apache.pig
      MapReduceLauncher$1.run
      1. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher$1.run(MapReduceLauncher.java:276)
      1 frame