Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

namedeepak.1987_128463 avatar image
namedeepak.1987_128463 asked Erick Ramirez edited

What is the procedure for scheduling repairs with Cassandra Reaper?

Can someone please help me to get the detailed procedure for scheduling reaper script in the cassandra cluster.

repairreaper
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

alex.dejanovski_191715 avatar image
alex.dejanovski_191715 answered

Hi @namedeepak.1987_128463,

first of all, install Reaper using one of the methods described in the documentation. Make sure you check the Service Configuration section and configure Reaper appropriately before starting it.

Then, go to http://your-reaper-host:8080/webui and connect using the default credentials (admin/admin) unless you're using a custom shiro configuration.

Register your cluster by adding the ip/hostname of one of the nodes in the cluster:

The cluster should then appear below:


Click on the Schedules button to create a new scheduled repair:


Again, check the documentation for more information on how to schedule a repair.

After pressing the Add Schedule button, your scheduled repair should appear in the list below:


If scheduled right away, give Reaper a few seconds to create the repair run, otherwise the run will be created as defined by the schedule.

Go to the Repairs page to check on the repair run. It'll appear in the list of running repairs if started:


Reaper will avoid running another repair for this schedule as long as the previous one is still running.
Schedules must be created per keyspace as Reaper doesn't support multi keyspace repairs.

Do note that there's an auto scheduling feature that can create schedules automatically for each added keyspace in the cluster. This can be handy if you have a lot of keyspaces in the cluster or if you want new keyspaces to be automatically scheduled without human intervention. Check the configuration documentation for more information.


Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.