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!

How do I run YCSB with Oracle?

2774932Oct 16 2014 — edited Oct 17 2014

Hi all,

I have followed the instructions available here: Installation Configuration to install Oracle NoSQL, and can even run the HelloBigDataWorld smoke test.

However, when I attempt to run YCSB, they would give me an exception "Could not contact any RepNode at: [server0:5000]".

Some background info:

I have access to 4 servers, and I am supposed to set up Oracle NoSQL on 3 of them (server0~2), and run YCSB on the last one (server3).

Here is my output from "show topology":

kv-> show topology

store=mystore  numPartitions=30 sequence=40

  dc=[dc1] name=name repFactor=1

  sn=[sn1]  dc=dc1 server0:5000 capacity=1 RUNNING

    [rg1-rn1] RUNNING

          No performance info available

  sn=[sn2]  dc=dc1 server1:5000 capacity=1 RUNNING

    [rg2-rn1] RUNNING

          No performance info available

  sn=[sn3]  dc=dc1 server2:5000 capacity=1 RUNNING

    [rg3-rn1] RUNNING

             single-op avg latency=1.9051613 ms   multi-op avg latency=0.0 ms

  shard=[rg1] num partitions=10

    [rg1-rn1] sn=sn1

  shard=[rg2] num partitions=10

    [rg2-rn1] sn=sn2

  shard=[rg3] num partitions=10

    [rg3-rn1] sn=sn3

and here is my YCSB config file:

# Store name

storeName=mystore

# Comma-separated list of helper host/port pairs

helperHost=server0:5000

I have no problems running the HelloBigDataWorld test from server3:

me@server3:~$ java -cp $KVHOME/lib/kvclient.jar:$KVHOME/examples hello.HelloBigDataWorld -host server0 -port 5000 -store mystore

Hello Big Data World!

But with YCSB:

me@server3:~$ $YCSB/bin/ycsb load nosqldb -P nosqldb.properties -P workloads/workloada

Starting test.

com.yahoo.ycsb.DBException: oracle.kv.FaultException: Oracle NoSQL DB 11gR2.1.2.123 Could not contact any RepNode at: [server0:5000]

Any idea why? I have tried the latest version of Oracle NoSQL, and the earliest version I could find, and both gave me the same problem...

By the way, in order to do this benchmark, should I set up 3 datacenters with 1 storage node each, or 1 datacenter with 3 storage nodes (I don't need any replication nodes - this is only for benchmarking).

Thanks!

This post has been answered by Tim Blackman-Oracle on Oct 17 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 14 2014
Added on Oct 16 2014
1 comment
1,314 views