This discussion is archived
3 Replies Latest reply: Mar 4, 2013 7:30 AM by 918307 RSS

Re: Oracle NoSQL & Hadoop

987122 Newbie
Currently Being Moderated

I have installed Oracle NoSQL Database 11gR2.2.0.23 Enterprise Edition on /u01/app/oracle/product/kv-2.0.23 and addeed a few key-value pairs to the kvstore

Then I went to run the example that comes with the NoSQL binaries called "" (located at /u01/app/oracle/product/kv-2.0.23/examples/hadoop)

I am using CDH 4.1 Community Edition.

When I run the java class "" it throws the following error

[admin@vm224 hadoop]$ hadoop jar hadoopSamples.jar hadoop.CountMinorKeys kvstore /user/admin/CountMinorKeys/output/test01
13/01/15 11:40:35 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
13/01/15 11:40:35 INFO mapred.JobClient: Cleaning up the staging area hdfs://
Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected
at oracle.kv.hadoop.KVInputFormatBase.getSplits(
at org.apache.hadoop.mapred.JobClient.writeNewSplits(
at org.apache.hadoop.mapred.JobClient.writeSplits(
at org.apache.hadoop.mapred.JobClient.access$600(
at org.apache.hadoop.mapred.JobClient$
at org.apache.hadoop.mapred.JobClient$
at Method)
at org.apache.hadoop.mapred.JobClient.submitJobInternal(
at org.apache.hadoop.mapreduce.Job.submit(
at org.apache.hadoop.mapreduce.Job.waitForCompletion(
at hadoop.CountMinorKeys.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.hadoop.util.RunJar.main(