cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Ploetz <aaronplo...@gmail.com>
Subject Re: Detect Repair is finish
Date Mon, 22 Jun 2015 16:25:54 GMT
You can do this with two nodetool commands:
nodetool compactionstats will check on active Merkle Tree calculations.

nodetool netstats will list out any active repair streams.

Aaron Morton posted a Bash script/command a while back that you can just
paste into the (linux) command line to monitor active streams for you:

while true; do date; diff <(nodetool -h localhost netstats) <(sleep 5
&& nodetool -h localhost netstats); done

Hope this helps,

Aaron Ploetz


On Mon, Jun 22, 2015 at 8:40 AM, Jean Tremblay <
jean.tremblay@zen-innovations.com> wrote:

> Hi,
>
> What is the best way to see if a repair is finished? Is there a JMX object
> or is there a command to see if a repair is finished?
> What happens if by mistake an operator starts a repair before the previous
> is not yet finished? Will they execute both one after the other or at the
> same time?
>
> Thanks for your help.
>
> Jean
>
>

Mime
View raw message