cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Olsson <>
Subject Repair documentation
Date Fri, 04 Sep 2015 12:50:39 GMT

While checking the repair documentation at 
I noticed the line***Use the **-hosts**option to list the good nodes to 
use for repairing the bad nodes. Use **-h**to name the bad nodes.* and 
below there was an example:

*/nodetool repair -pr -hosts 
/**/10.2/**/./**/2.20/**//**/10.2/**/./**/2.21/* which should do */A 
partitioner range repair of the bad partition on current node using the 
good partitions on or* according to the documentation.

Is this correctly documented because I don't seem to be getting the 
right results when trying.

I started up a C* 2.1.9 CCM cluster and when running
repair -h -p 7100 repair -pr

I get the error:

*nodetool: Keyspace [] does not exist.*


When I run it as
nodetool -h -p 7100 repair -pr -hosts

instead it gives me the error:
*java.lang.RuntimeException: Primary range repair should be performed on 
all nodes in the cluster.**
**    at$Repair.execute(**
**    at$**
**    at*


I even tried running it as
repair -h -p 7100 repair -hosts
and then I get*
**The current host must be part of the repair*


This seems like either bug(s) or a documentation mistake?

There is also a line in 
which says that *You can specify which nodes have the good data for 
replacing the outdated data.* which seems to be related(and also the 
reason I tried it out)?

Marcus Olsson

View raw message