YCSB benchmarking thrift api

35 views
Skip to first unread message

Jack

<haonan.lv@gmail.com>
unread,
Feb 25, 2018, 8:06:19 PM2/25/18
to ScyllaDB users
Hi,

I was trying to use ycsb benchmark tools over thrift api. I use ycsb-0.10.0, and scylla-2.1.rc3. 
It looks fine when I use cql interface.
But, if I use thrift, e.g., ycsb's cassandra10 binding, then no operations can be done but there were no errors shown in the output.
ycsb outputs like:

2018-02-25 17:27:13:498 10 sec: 0 operations; est completion in 106751991167300 days 15 hours 

2018-02-25 17:27:23:498 20 sec: 0 operations; est completion in 106751991167300 days 15 hours 

Anyone has some experience on this? Thanks.

Dor Laor

<dor@scylladb.com>
unread,
Feb 25, 2018, 9:04:12 PM2/25/18
to ScyllaDB users
We usually test CQL and prepared statements with YCSB, there is no reason it shouldn't work,
but not much millage with Thrift/YCSB. Can you use instead cassandra-stress?
Is there a special reason to test Thrift w/ YCSB? 


--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/63b6cf9f-eb3f-4ef1-a373-8e39b17402a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jack

<haonan.lv@gmail.com>
unread,
Feb 25, 2018, 9:40:16 PM2/25/18
to ScyllaDB users
Yes, CQL/YCSB works fine. Just thrift/ycsb does not.
ycsb is the top option for me because of its built-in workloads and also it has the options to control skewness.


On Sunday, February 25, 2018 at 9:04:12 PM UTC-5, Dor Laor wrote:
We usually test CQL and prepared statements with YCSB, there is no reason it shouldn't work,
but not much millage with Thrift/YCSB. Can you use instead cassandra-stress?
Is there a special reason to test Thrift w/ YCSB? 

On Sun, Feb 25, 2018 at 5:06 PM, Jack <haon...@gmail.com> wrote:
Hi,

I was trying to use ycsb benchmark tools over thrift api. I use ycsb-0.10.0, and scylla-2.1.rc3. 
It looks fine when I use cql interface.
But, if I use thrift, e.g., ycsb's cassandra10 binding, then no operations can be done but there were no errors shown in the output.
ycsb outputs like:

2018-02-25 17:27:13:498 10 sec: 0 operations; est completion in 106751991167300 days 15 hours 

2018-02-25 17:27:23:498 20 sec: 0 operations; est completion in 106751991167300 days 15 hours 

Anyone has some experience on this? Thanks.

--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-user...@googlegroups.com.
To post to this group, send email to scyllad...@googlegroups.com.

Duarte Nunes

<duarte@scylladb.com>
unread,
Feb 26, 2018, 4:16:55 AM2/26/18
to scylladb-users@googlegroups.com, Jack
What about errors in the Scylla logs?

Do you know what thrift verbs it uses?

Jack

<haonan.lv@gmail.com>
unread,
Feb 26, 2018, 4:41:12 PM2/26/18
to ScyllaDB users
It uses batch_mutate for insertion and get_slice for reads. 
It now works with thrift binding. 
Reply all
Reply to author
Forward
0 new messages