This discussion is archived
3 Replies Latest reply: Dec 21, 2012 1:27 PM by mannamal RSS

Oracle Loader for Hadoop not binary compatible w/ CDH4?

969597 Newbie
Currently Being Moderated
It looks like "Oracle Loader for Hadoop Release 1.1.0.0.1 - Production" is not binary compatible w/ CDH4. Is that accurate? If so, is there a release date planned that will support CDH4?
$ export HADOOP_CLASSPATH="${OLH_HOME}/jlib/*"
$ hadoop jar $OLH_HOME/jlib/oraloader.jar oracle.hadoop.loader.OraLoader -conf MyConf.xml -libjars build/jar/evtldr-10.4.0.jar -Dmapred.output.dir=eventloader
Oracle Loader for Hadoop Release 1.1.0.0.1 - Production

Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.

12/10/19 17:31:56 INFO 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(DBOutputFormat.java:204)
        at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:883)
        at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:844)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
        at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:844)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:481)
        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:511)
        at oracle.hadoop.loader.OraLoader.run(OraLoader.java:559)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at oracle.hadoop.loader.OraLoader.main(OraLoader.java:734)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:208)

$ rpm -qa | grep hadoop
hadoop-mapreduce-2.0.0+91-1.cdh4.0.1.p0.1.el6.x86_64
hadoop-hdfs-2.0.0+91-1.cdh4.0.1.p0.1.el6.x86_64
hadoop-0.20-mapreduce-jobtracker-0.20.2+1216-1.cdh4.0.1.p0.1.el6.noarch
hadoop-client-2.0.0+91-1.cdh4.0.1.p0.1.el6.x86_64
hadoop-hdfs-secondarynamenode-2.0.0+91-1.cdh4.0.1.p0.1.el6.x86_64
hadoop-0.20-mapreduce-0.20.2+1216-1.cdh4.0.1.p0.1.el6.x86_64
hadoop-yarn-2.0.0+91-1.cdh4.0.1.p0.1.el6.x86_64
hadoop-hdfs-namenode-2.0.0+91-1.cdh4.0.1.p0.1.el6.x86_64
hadoop-2.0.0+91-1.cdh4.0.1.p0.1.el6.x86_64
hadoop-0.20-conf-pseudo-0.20.2+1216-1.cdh4.0.1.p0.1.el6.x86_64
hadoop-0.20-mapreduce-tasktracker-0.20.2+1216-1.cdh4.0.1.p0.1.el6.noarch
hadoop-hdfs-datanode-2.0.0+91-1.cdh4.0.1.p0.1.el6.x86_64

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points