Cassandra partial range repair in Go
Anti-entropy Cassandra cluster tool
nodetool
installed (on your host)- OR
mx4j
interface activated (on cassandra node) - OR
jolokia
agent installed (on cassandra node)
You may control connection type via -c
flag, default connector is mx4j
.
Initialize test Cassandra 2.2 cluster (you need ansible, docker and docker-compose installed):
make setup
Run tests:
make test # Make a "hole" and check existence
make check # Only check, no write/restart cycle
Repair your cluster:
make run
Analyze your logs in Kibana interface available at:
http://172.16.237.50:5601
Check your metrics in Grafana interface available at:
http://172.16.237.30:3000
##Troubleshooting
-
Elasticsearch didn't start with
vm.max_map_count
error:Run on your host machine:
sudo sysctl -w vm.max_map_count=262144