[Level 3] Cassandra stress tool from git in Ubuntu.

If you want to do the stress test for Cassandra.
You could try an open source project call cassandra-stress of zznate.
First you must to have git client and maven.

Please reference here: git installation, maven installation

Clone the src from git.
# git clone https://github.com/zznate/cassandra-stress.git
Then you would find a folder named "cassandra-stress", cd it and build the binary.
# cd ./cassandra-stress
# mvn install 
and mvn would create a sub folder "target", cd it and run the stress script.
# cd ./target/appassembler/
# sh ./bin/stress -o insert -b 1000 -n 2000000 localhost:9160
Wish this helps.
regards,
Stanley Huang

Comments

Popular posts from this blog

[Level 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python