You can check the repair status in two ways: through the Reaper UI or by using the
spreaper command.
- Cassandra cluster is started.
- Cassandra Reaper is started on all seed nodes.
To check the repair status, complete the following steps:
-
To check the repair status frequently from the Reaper UI, complete the following steps:
-
Access the following URL:
http://<IP>:<Reaper
port>/webui/index.html
.
-
Provide the IP address of the local Cassandra server and the Reaper port number in the
URL.
-
To check the repair status by using the spreaper command, complete the
following steps:
-
Ensure that Python 2.7 or later is installed to run the spreaper
command.
-
Run the following commands to install the argparse and
requests packages:
yum install python-argparse
yum install python-requests
-
From the InstallDir/apache-cassandra/reaper/bin directory, run the
following command: ./spreaper status-cluster 'mailboxcluster' --reaper-host <host name>
--reaper-port <port>.
-
Use the following commands with spreaper:
Table 1. Commands to check repair status
Command |
Description |
list-clusters |
List all registered Cassandra clusters. |
list-runs |
List registered repair runs. |
list-schedules |
List registered repair schedules. |
status-cluster |
Show status of a Cassandra cluster, and any existing repair runs for the cluster. |
status-repair |
Show status of a repair run. |