Problem testing voldemort with ycsb.

328 views
Skip to first unread message

hui

unread,
Dec 2, 2012, 10:05:57 AM12/2/12
to project-...@googlegroups.com
Hi,

I want to test the performance of voldermort cluster with ycsb. Currently I am testing on my pc. However, I can't even load the data to the store. As it shows:
Command line: -db com.yahoo.ycsb.db.VoldemortClient -p bootstrap_urls=tcp://localhost:6666 -P workloads/workloada -load
Loading workload...
Starting test.
Exception in thread "Thread-1" java.lang.NoSuchMethodError: voldemort.client.StoreClient.put(Ljava/lang/Object;Ljava/lang/Object;)V
at com.yahoo.ycsb.db.VoldemortClient.insert(VoldemortClient.java:76)
at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:145)
at com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:461)
at com.yahoo.ycsb.ClientThread.run(Client.java:269)
[OVERALL], RunTime(ms), 1172.0
[OVERALL], Throughput(ops/sec), 0.0

I configure the node use:bin/voldemort-server.sh ycsbhome/voldemort-binding/conf

I am thinking whether it is wrong with the key/value serializer? But I changed the serializer type and it still didn't work..


I need your help, people!!!! Thanks thanks very much! Can you help me?


ctasada

unread,
Dec 3, 2012, 6:44:36 AM12/3/12
to project-...@googlegroups.com
Hi Hui,

Some point you should double-check:
- YCSB has a dependency with Voldemort 0.81 version from some home-made maven repository
- Check that your code has the proper dependencies embedded. Open the ycsb voldemort-binding.jar and double check that you've the voldemort client code there.

Don't hesitate to ask again if you still have problems.

Note: The voldemort-performace.sh tool is based in the YCSB, so maybe it's enough depending what do you want to benchmark.

Regards,
Carlos.

hui

unread,
Dec 3, 2012, 7:25:15 AM12/3/12
to project-...@googlegroups.com
Hi,

I chaged a place of the VodemortClient.java and the problem has been solved. I am currently running a voldemort cluster configured as one zone, because my cassandra nodes are also configured to be in one datacenter. I am using the latest ycsb(1.4) and voldemort(0.96).

It works good but I find one problem.  I can't use the hinded hand off strategy, whenever I put it there, it says it expect something else. So pehaps the ycsb doens't support it??? Thanks very much!


在 2012年12月3日星期一UTC+1下午12时44分36秒,ctasada写道:

hui

unread,
Dec 3, 2012, 7:46:34 AM12/3/12
to project-...@googlegroups.com
Hi,

And also I tried Voldemort performance tool, I didn't look into it but I feel it is good, maybe because it is specifically for voldemort. I want to use YCSB because I need to comapre Voldemort with Cassandra, and for Cassandra, I used YCSB, So I want to keep the same. And now the problem is really i want to use hinted handoff strategy, but ycsb don't like it :(  Can you help me with this? Thanks very very much!

在 2012年12月3日星期一UTC+1下午1时25分15秒,hui写道:

Carlos Tasada

unread,
Dec 3, 2012, 8:08:01 AM12/3/12
to project-...@googlegroups.com
Vi Hui,

With out the stacktrace I can only guess the problem. As I said in my previous post, YSCB supports Voldemort 0.81. Hinted-handoff was included in 0.90. Try to upgrade your dependencies in YCSB to a newer Voldemort version

If that's not problem, please include your stack trace to have more info

Regards,
Carlos

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "project-voldemort" group.
To unsubscribe from this group, send email to project-voldem...@googlegroups.com.
Visit this group at http://groups.google.com/group/project-voldemort?hl=en.
 
 

Bing X

unread,
Mar 1, 2013, 12:59:07 PM3/1/13
to project-...@googlegroups.com
Sorry, I join the discussion from the middle.

Can you give a list on how to configure ycsb to run a single node voldemort as an example? Or refer me to some instruction for this?

thanks!

Vinoth Chandar

unread,
Mar 1, 2013, 2:01:03 PM3/1/13
to project-...@googlegroups.com

anonymous

unread,
Mar 1, 2013, 2:21:36 PM3/1/13
to project-...@googlegroups.com

thanks. It is useful.

But I want the whole process, instructions on how to run voldemort, specifically configure ycsb to test the performance of voldemort. I have successfully build ycsb with voldemort0.96. Now I just have no clue how to configure ycsb to beat it.

Vinoth Chandar

unread,
Mar 1, 2013, 2:42:03 PM3/1/13
to project-...@googlegroups.com
I am a little lost.. is your intention perf testing voldemort and are you asking for performant voldemort server configs?

anonymous

unread,
Mar 1, 2013, 2:48:24 PM3/1/13
to project-...@googlegroups.com
well. I want to run ycsb (yahoo cloud service benchmarking) to beat voldemort. I don't know how to configure ycsb for this purpose.

Vinoth Chandar

unread,
Mar 1, 2013, 2:57:29 PM3/1/13
to project-...@googlegroups.com
If its a ycsb question, then I am not sure if I am the right person to answer it..

anonymous

unread,
Mar 1, 2013, 5:31:28 PM3/1/13
to project-...@googlegroups.com
where you changed in VoldemortClient.java?

thanks!

anonymous

unread,
Mar 1, 2013, 5:39:16 PM3/1/13
to project-...@googlegroups.com
Hui, I met exactly the same problem as you mentioned. Where you change the VoldemortClient.java?

thanks a lot!

hui

unread,
Mar 2, 2013, 11:33:14 AM3/2/13
to project-...@googlegroups.com
Hi, sorry to reply later! Yes, I changed a place at first, storeClient.put(key, (HashMap<String,String>)StringByteIterator.getStringMap(values));

I have deleted  (HashMap<String,String>) . and it worked, but after I start my test on cluster somewhile, I think that is not the problem and I add it back.  However you can try this.

If you are running test with replications and with update function, you might have problems. Otherwise it should be ok.

Good luck!
在 2013年3月1日星期五UTC+1下午11时39分16秒,anonymous写道:
Reply all
Reply to author
Forward
0 new messages