Local Cassandra cluster via Cassandra CCM – Cluster Manager

Cam across this cool little utility to launch a local Cassandra cluster and test your apps around Cassandra. Check it out.

1. Link

https://github.com/pcmanus/ccm/

2. Install Instructions.

Bring up a 5 Node cassandra Cluster up with Cassandra version 2.1.3. Minimal and Simplistic-

 cd work/git/ccm
 ccm status
 ccm create test -v 2.1.3 -n 5 -s
 ccm start
 ccm status

3. Other commands

Bring selected node down:

ccm node4 stop

Use cqlsh on node:

ccm node1 cqlsh
USE demo;
SELECT * from testcf;

Yash Sharma is a Big Data & Machine Learning Engineer, A newbie OpenSource contributor, Plays guitar and enjoys teaching as part time hobby.
Talk to Yash about Distributed Systems and Data platform designs.

Leave a Reply

Your email address will not be published. Required fields are marked *