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

Stack Overflow | Nanu | 4 months ago
  1. 0

    Hadoop 2.7.2 + Sqoop 1.4.6

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

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

    Stack Overflow | 1 year ago | avk avk
    java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected
  3. 0

    How to install Sqoop 2 server and client?

    Stack Overflow | 2 years ago | Mani Mani
    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

    Error while running sqoop import - ERROR manager.OracleManager: Failed to rollback transaction

    Stack Overflow | 6 months ago | Hardik Gupta
    java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected
  6. 0

    Is Apache Hadoop 2.7.1 is compatible with Apache Sqoop 1.4.6?

    Stack Overflow | 4 months ago | brijesh MISHRA
    java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class 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 interface org.apache.hadoop.mapreduce.JobContext, but class was expected

      at org.apache.sqoop.config.ConfigurationHelper.getJobNumMaps()
    2. org.apache.sqoop
      ConfigurationHelper.getJobNumMaps
      1. org.apache.sqoop.config.ConfigurationHelper.getJobNumMaps(ConfigurationHelper.java:53)
      1 frame
    3. com.cloudera.sqoop
      ConfigurationHelper.getJobNumMaps
      1. com.cloudera.sqoop.config.ConfigurationHelper.getJobNumMaps(ConfigurationHelper.java:36)
      1 frame
    4. org.apache.sqoop
      DataDrivenDBInputFormat.getSplits
      1. org.apache.sqoop.mapreduce.db.DataDrivenDBInputFormat.getSplits(DataDrivenDBInputFormat.java:121)
      1 frame
    5. Hadoop
      Job$10.run
      1. org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:301)
      2. org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:318)
      3. org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:196)
      4. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
      5. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
      5 frames
    6. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:422)
      2 frames
    7. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
      1 frame
    8. Hadoop
      Job.waitForCompletion
      1. org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
      2. org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308)
      2 frames
    9. org.apache.sqoop
      Sqoop.run
      1. org.apache.sqoop.mapreduce.ImportJobBase.doSubmitJob(ImportJobBase.java:186)
      2. org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:159)
      3. org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:247)
      4. org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:665)
      5. org.apache.sqoop.manager.MySQLManager.importTable(MySQLManager.java:118)
      6. org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497)
      7. org.apache.sqoop.tool.ImportAllTablesTool.run(ImportAllTablesTool.java:105)
      8. org.apache.sqoop.Sqoop.run(Sqoop.java:143)
      8 frames
    10. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      1 frame
    11. org.apache.sqoop
      Sqoop.main
      1. org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
      2. org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
      3. org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
      4. org.apache.sqoop.Sqoop.main(Sqoop.java:236)
      4 frames