The aim of this project is to launch a Cassandra repair through the Cassandra Reaper project : https://github.com/thelastpickle/cassandra-reaper .
It provides 2 entry points :
- Command lines
- REST webservice
JDK 8
Cassandra 3
Once the repair job is created, it will only start at one of these specific minutes : HH:00 , HH:15 , HH:30 or HH:45.
So taking for example, you created a repair job at 15:07. This job will start at 15:15.
Taking another example, you have a second repair at 14:35. It will start at 14:45.
You start the reaper-launcher-ws project. It helps to start a Cassandra repair by invoking the following url : http://localhost:8087/cassandra/cassandra_host_ip
The cassandra_host_ip
is the ip of the cassandra node which came back to life again.
This project will :
- Create a repair job
- Wait until HH:00 , HH:15 , HH:30 or HH:45
- Start the repair job
- Monitor the repair job : Showing the achievement percentage
- Delete the repair job
You start the reaper-launcher-cl project. It provides many commands lines :
-connect cassandra_reaper_ip cassandra_node_ip
-list cassandra_reaper_ip
-create-repair cassandra_reaper_ip test_cluster my_keyspace repair_thread_count
-start-repair cassandra_reaper_ip repair_id
-create-and-start cassandra_reaper_ip test_cluster my_keyspace repair_thread_count
-monitor cassandra_reaper_ip
-run-and-monitor cassandra_reaper_ip test_cluster my_keyspace repair_thread_count
-run-monitor-and-delete cassandra_reaper_ip test_cluster my_keyspace repair_thread_count
-stop-repair cassandra_reaper_ip repair_id
-delete-repair cassandra_reaper_ip repair_id
-help
The Cassandra Reaper provides a GUI to manage Cassandra repairs.
It provides also a command line interface called spreaper
.
Check the project : https://github.com/thelastpickle/cassandra-reaper