Cassandra

gmouchakis edited this page Jan 11, 2017 · 7 revisions
Website http://cassandra.apache.org/
Supported versions 2.2.6
Current responsible(s) Yiannis Mouchakis @ NCSR-D -- gmouchakis@iit.demokritos.gr
Docker image(s) bde2020/cassandra
More info http://docs.datastax.com/en/cassandra/2.0/cassandra/gettingStartedCassandraIntro.html
https://github.com/big-data-europe/cassandra

Short description

Apache Cassandra is a free and open-source distributed database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure. Cassandra offers robust support for clusters spanning multiple datacenters, with asynchronous masterless replication allowing low latency operations for all clients.

Example usage

To deploy a Cassandra node for example in a docker network called bde_net issue

docker run -d --name cassandra-cluster-1 -v /srv/cassandra:/var/lib/cassandra --net=bde_net bde2020/cassandra

Scaling

To add more nodes in the cluster you must use another node as seed node. For example to add a node called cassandra-cluster-2 using seed node cassandra-cluster-1 issue

docker run -d --name cassandra-cluster-2 -v /srv/cassandra:/var/lib/cassandra --net=bde_net -e CASSANDRA_SEEDS="$(docker inspect --format='{{ .NetworkSettings.Networks.bde_net.IPAddress }}' cassandra-cluster-1 | cut -d " " -f1)" bde2020/cassandra

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.