Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pokle/cassandra-dev-cluster
Helps you set up a development cluster of Apache Cassandra
https://github.com/pokle/cassandra-dev-cluster
Last synced: 10 days ago
JSON representation
Helps you set up a development cluster of Apache Cassandra
- Host: GitHub
- URL: https://github.com/pokle/cassandra-dev-cluster
- Owner: pokle
- Created: 2014-01-03T01:21:51.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-04T00:55:31.000Z (almost 11 years ago)
- Last Synced: 2023-03-11T00:19:10.181Z (over 1 year ago)
- Language: Shell
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Helps you set up a self contained dev cluster of Cassandra.
- All files are stored in the project directory - so you don't have to contaminate your computer with cassandra files.
- All configuration is local in the conf directory.
- Downloads and installs Cassandra for you in the project directory.
- At the moment, you can only set up a single node per physical host.Single node
===========To start a single node:
git clone https://github.com/pokle/cassandra-dev-cluster.git
cd cassandra-dev-cluster
# Download and install Cassandra - only required the first time
./install.sh#
./start.shConnect to it in another terminal:
cd cassandra-dev-cluster
./apache-cassandra/bin/cqlshA cluster of nodes
=======
A cluster's a little harder to set up because you have to point your nodes at atleast one seed so that they can join the cluster. To do this, after you git clone this project on each node, edit the conf/cassandra.yaml file, and add your seed node(s) to it.You shouldn't need to edit the listen_address because the configuration leaves it blank - meaning just use the hostname. If your nodes don't have hostnames configured correctly, you'll have to set this.
See http://www.datastax.com/documentation/cassandra/1.2/webhelp/cassandra/initialize/initializeMultipleDS.html for further information.