Skip to Main Content

NoSQL Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle NoSQL Database Loader with latest EE does not work

1005853Apr 29 2013 — edited Apr 30 2013
I am unable to run the Oracle NoSQL Database Loader to load data at: http://www.oracle.com/technetwork/products/nosqldb/documentation/index.html which is included as documentation with the latest download of Oracle NoSQL. I have downloaded the EE onto my Unix machine and have JAVA version:
"1.7.0_17" running.

(I am running KVlite. I was able to run the Hello Big Data World example.)

Here is step 6 in the README.txt file that I am unable to run.6. To load the content of tweeter feed into the store run this command:
$java -cp SAMPLE_HOME/OLH/ONLH/deploy/onlh.jar;SAMPLE_HOME/OLH/ONLH/lib/nosql/kvclient-1.2.123.jar oracle.kv.sample.Loader -i SAMPLE_HOME/OLH/ONLH/deploy/airline_tweets_search-03-01-2012-082206.xml -m "US <userID> " -n "<userName>" -v "<userName> <userID>" -d "|" -t xml

I have the airline tweets.xml and the two jar files onlh.jar and kvclient-1.2.123.jar in the deploy directory. When I unzip the package it does NOT contain the directory OLH (as the above command shows) so that is one issue with above. Also the ; throws JAVA usage errors in above.
I have run the following:

[cloudera@localhost deploy]$ java -cp onlh.jar -jar kvclient.jar oracle.kv.sample.Loader -i airline_tweets_search-03-01-2012-082206.xml -m "US <userID> " -n "<userName>" -v "<userName> <userID>" -d "|" -t xml

My output:

11gR2.2.0.39

(I do not receive an invalid message validation error as described in sample java files. I have tried many variations of above. Also, the sample in README.txt step 6 also does not align with the documentation in the java file <tagname1> <tagname2> usage. I am able to run step 5 to see the usage of the arguments.

I am out of options on how to fix this and would greatly appreciate some advice asap for a demo that I am building. I definitely need to have this working so I can then load my own cvs file (with a few tweaks to the arguments). I am a beginner JAVA programmer so explanations with examples are greatly helpful.
Thank you
This post has been answered by Charles Lamb on Apr 30 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2013
Added on Apr 29 2013
7 comments
3,813 views