Public | Automated Build

Last pushed: 2 years ago
Short Description
Cassandra
Full Description

Cassandra

Cassandra-base

  • Java: 8
  • Cassandra: 2.1.3

Cassandra-Master and Cassandra-Worker

  • endpoint_snitch: GossipingPropertyFileSnitch
  • num_tokens: 256
  • Topology: $CASSANDRA_CONFIG/cassandra-rackdc.properties

Command-line to create new cluster:

  • docker run raisonata/cassandra:cluster

Command-line to join a Cluster:

  • docker run raisonata/cassandra:cluster <master_ip>
  • docker run raisonata/cassandra:cluster <master1_ip>,<master2_ip>,<master3_ip>

Command-line to add Worker (mandatory to specify master):

  • docker run raisonata/cassandra:worker <master_ip>
  • docker run raisonata/cassandra:worker <master1_ip>,<master2_ip>,<master3_ip>

Global Variables

  • export CASSANDRA_CONFIG=${CASSANDRA_CONFIG:-"/etc/cassandra"}
  • export CASSANDRA_CLUSTERNAME=${CASSANDRA_CLUSTER:-"Default Cluster"}
  • export CASSANDRA_TOKENS=${CASSANDRA_TOKENS:-256}
  • export CASSANDRA_DC=${CASSANDRA_DC:-"DC1"}
  • export CASSANDRA_RACK=${CASSANDRA_RAC:-"RACK1"}
  • export CASSANDRA_STORE_DIR=${CASSANDRA_STORE_DIR:-"/store"}
  • export CASSANDRA_STORE_COMMITLOG=${CASSANDRA_STORE_COMMITLOG:-"${CASSANDRA_STORE_DIR}/commitlog"}
  • export CASSANDRA_STORE_DATA=${CASSANDRA_STORE_DATA:-"${CASSANDRA_STORE_DIR}/data"}
  • export CASSANDRA_STORE_SAVED_CACHES=${CASSANDRA_STORE_SAVED_CACHES:-"${CASSANDRA_STORE_DIR}/saved_caches"}
  • export CASSANDRA_STORE_LOGS=${CASSANDRA_STORE_LOGS:-"${CASSANDRA_STORE_DIR}/logs"}
Docker Pull Command
Owner
raisonata
Source Repository

Comments (0)