YCSB not able to load data into cassandra multinode

441 views Asked by At

I am trying to load data using YCSB tool into cassandra multinode set up, using the below command.

./ycsb  load cassandra-10 -P ../workloads/workloadb -s 

but I am getting the following output.
I put the hosts parameter in workload as server's IP address.

P.S. I am able to successfully create multinode set-up and created db 'usertable' with table 'data'

2014-12-02 02:55:25:013 0 sec: 0 operations; 
2014-12-02 02:55:35:014 10 sec: 0 operations; 
2014-12-02 02:55:45:015 20 sec: 0 operations; 
2014-12-02 02:55:55:016 30 sec: 0 operations; 
2014-12-02 02:56:05:017 40 sec: 0 operations; 
2014-12-02 02:56:15:018 50 sec: 0 operations; 
2014-12-02 02:56:25:019 60 sec: 0 operations; 
2014-12-02 02:56:35:020 70 sec: 0 operations; 
2014-12-02 02:56:45:020 80 sec: 0 operations; 
2014-12-02 02:56:55:021 90 sec: 0 operations; 
2014-12-02 02:57:05:023 100 sec: 0 operations; 
2014-12-02 02:57:15:024 110 sec: 0 operations; 
2014-12-02 02:57:25:024 120 sec: 0 operations; 
2014-12-02 02:57:35:025 130 sec: 0 operations;
1

There are 1 answers

0
Ankit Lakhotia On
    /root/ycsb-0.1.4/bin/ycsb load cassandra-10 -p hosts="<ip1> <ip2> <ip3> .." -p port=9160 -p recordcount=1000000 -P /root/ycsb-0.1.4/workloads/workloada -s

you need to put IP adddress of all the seed nodes in the host parameter which u provided in yaml file.