Thursday, January 19, 2012

[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
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.
Stanley Huang