casbench is used as part of Basho Bench. You will need to setup
Basho Bench and Cassandra 0.5.1.
- Download and extract Cassandra 0.5.1
- Update the various configuration paths as needed
conf/log4j.properties:log4j.appender.R.File=/var/log/cassandra/system.log conf/storage-conf.xml: <CommitLogDirectory>/var/lib/cassandra/commitlog</CommitLogDirectory> conf/storage-conf.xml: <DataFileDirectory>/var/lib/cassandra/data</DataFileDirectory> conf/storage-conf.xml: <CalloutLocation>/var/lib/cassandra/callouts</CalloutLocation> conf/storage-conf.xml: <StagingFileDirectory>/var/lib/cassandra/staging</StagingFileDirectory>
- Start Cassandra
- Download and build Basho Bench
git clone git://github.com:basho/basho_bench.git cd basho_bench make
- Run Basho Bench with the example casbench.config file
For more information on using Basho Bench checkout the Basho Wiki.
We encourage contributions to
casbench from the community.
- Fork the
casbenchrepository on Github.
- Clone your fork or add the remote if you already have a clone of the repository.
git clone firstname.lastname@example.org:yourusername/casbench.git # or git remote add mine email@example.com:yourusername/casbench.git
- Create a topic branch for your change.
git checkout -b some-topic-branch
- Make your change and commit. Use a clear and descriptive commit message, spanning multiple lines if detailed explanation is needed.
- Push to your fork of the repository and then send a pull-request through Github.
git push mine some-topic-branch
- A Basho engineer or community maintainer will review your patch and merge it into the main repository or send you feedback.