loader.OraLoader: Oracle Loader for Hadoop Release 1.1.0.0.1 - Production Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. ... elided... Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

Oracle Community | 969597 | 4 years ago
  1. 0

    Oracle Loader for Hadoop not binary compatible w/ CDH4?

    Oracle Community | 4 years ago | 969597
    loader.OraLoader: Oracle Loader for Hadoop Release 1.1.0.0.1 - Production Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. ... elided... Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

    Root Cause Analysis

    1. loader.OraLoader

      Oracle Loader for Hadoop Release 1.1.0.0.1 - Production Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. ... elided... Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

      at oracle.hadoop.loader.lib.output.DBOutputFormat.checkOutputSpecs()
    2. oracle.hadoop.loader
      DBOutputFormat.checkOutputSpecs
      1. oracle.hadoop.loader.lib.output.DBOutputFormat.checkOutputSpecs(DBOutputFormat.java:204)
      1 frame
    3. Hadoop
      JobClient$2.run
      1. org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:883)
      2. org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:844)
      2 frames
    4. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:396)
      2 frames
    5. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
      1 frame
    6. Hadoop
      Job.waitForCompletion
      1. org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:844)
      2. org.apache.hadoop.mapreduce.Job.submit(Job.java:481)
      3. org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:511)
      3 frames
    7. oracle.hadoop.loader
      OraLoader.run
      1. oracle.hadoop.loader.OraLoader.run(OraLoader.java:559)
      1 frame
    8. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      1 frame
    9. oracle.hadoop.loader
      OraLoader.main
      1. oracle.hadoop.loader.OraLoader.main(OraLoader.java:734)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    11. Hadoop
      RunJar.main
      1. org.apache.hadoop.util.RunJar.main(RunJar.java:208)
      1 frame