Checking repair status
You can check the repair status in two ways: through the Reaper UI or by using the spreaper command.
Before you begin
- Cassandra cluster is started.
- Cassandra Reaper is started on all seed nodes.
Procedure
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.
-
Access the following URL:
-
To check the repair status by using the
spreaper command, complete the
following steps:
- Ensure that Python v3.0 or later is installed to run the spreaper command.
-
Run the following commands to install the
argparse and
requests packages:
Argparse:
Requests:yum install python-argparse
yum install python-requests
-
From the
InstallDir/apache-cassandra/reaper/bin
directory, run the following commands:
Login:
./spreaper --reaper-port=<port> --reaper-host=<host name> login admin Password: <password>
Check status:
Where, <command args> can be one of the following commands:./spreaper --reaper-port=<port> --reaper-host=<host name> <command args>
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.