Re: How to stop nodetool repair in 2.1.2?

2015-04-16 Thread Paul Leddy

Will JMX be more readily available by 2100?

On 04/15/2015 10:14 PM, Benyi Wang wrote:

Using JMX worked. Thanks a lot.

On Wed, Apr 15, 2015 at 3:57 PM, Robert Coli rc...@eventbrite.com 
mailto:rc...@eventbrite.com wrote:


On Wed, Apr 15, 2015 at 3:30 PM, Benyi Wang bewang.t...@gmail.com
mailto:bewang.t...@gmail.com wrote:

It didn't work. I ran the command on all nodes, but I still
can see the repair activities.


Your input as an operator who wants a nodetool command to
trivially stop repairs is welcome here :

https://issues.apache.org/jira/browse/CASSANDRA-3486

For now, your two options are :

1) restart all nodes participating in the repair
2) access the JMX endpoint forceTerminateAllRepairSessions on all
nodes participating in the repair

=Rob






Re: How to stop nodetool repair in 2.1.2?

2015-04-15 Thread Sebastian Estevez
nodetool stop *VALIDATION*
On Apr 15, 2015 5:16 PM, Benyi Wang bewang.t...@gmail.com wrote:

 I ran nodetool repair -- keyspace table for a table, and it is still
 running after 4 days. I knew there is an issue for repair with vnodes
 https://issues.apache.org/jira/browse/CASSANDRA-5220. My question is how
 I can kill this sequential repair?

 I killed the process which I ran the repair command. But I still can find
 the repair activities running on different nodes in OpsCenter.

 Is there a way I can stop the repair without restarting the nodes?

 Thanks.



Re: How to stop nodetool repair in 2.1.2?

2015-04-15 Thread Robert Coli
On Wed, Apr 15, 2015 at 3:30 PM, Benyi Wang bewang.t...@gmail.com wrote:

 It didn't work. I ran the command on all nodes, but I still can see the
 repair activities.


Your input as an operator who wants a nodetool command to trivially stop
repairs is welcome here :

https://issues.apache.org/jira/browse/CASSANDRA-3486

For now, your two options are :

1) restart all nodes participating in the repair
2) access the JMX endpoint forceTerminateAllRepairSessions on all nodes
participating in the repair

=Rob


Re: How to stop nodetool repair in 2.1.2?

2015-04-15 Thread Benyi Wang
It didn't work. I ran the command on all nodes, but I still can see the
repair activities.

On Wed, Apr 15, 2015 at 3:20 PM, Sebastian Estevez 
sebastian.este...@datastax.com wrote:

 nodetool stop *VALIDATION*
 On Apr 15, 2015 5:16 PM, Benyi Wang bewang.t...@gmail.com wrote:

 I ran nodetool repair -- keyspace table for a table, and it is still
 running after 4 days. I knew there is an issue for repair with vnodes
 https://issues.apache.org/jira/browse/CASSANDRA-5220. My question is how
 I can kill this sequential repair?

 I killed the process which I ran the repair command. But I still can find
 the repair activities running on different nodes in OpsCenter.

 Is there a way I can stop the repair without restarting the nodes?

 Thanks.




How to stop nodetool repair in 2.1.2?

2015-04-15 Thread Benyi Wang
I ran nodetool repair -- keyspace table for a table, and it is still
running after 4 days. I knew there is an issue for repair with vnodes
https://issues.apache.org/jira/browse/CASSANDRA-5220. My question is how I
can kill this sequential repair?

I killed the process which I ran the repair command. But I still can find
the repair activities running on different nodes in OpsCenter.

Is there a way I can stop the repair without restarting the nodes?

Thanks.


Re: How to stop nodetool repair in 2.1.2?

2015-04-15 Thread Benyi Wang
Using JMX worked. Thanks a lot.

On Wed, Apr 15, 2015 at 3:57 PM, Robert Coli rc...@eventbrite.com wrote:

 On Wed, Apr 15, 2015 at 3:30 PM, Benyi Wang bewang.t...@gmail.com wrote:

 It didn't work. I ran the command on all nodes, but I still can see the
 repair activities.


 Your input as an operator who wants a nodetool command to trivially stop
 repairs is welcome here :

 https://issues.apache.org/jira/browse/CASSANDRA-3486

 For now, your two options are :

 1) restart all nodes participating in the repair
 2) access the JMX endpoint forceTerminateAllRepairSessions on all nodes
 participating in the repair

 =Rob