You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Sasha Dolgy <sd...@gmail.com> on 2011/03/09 18:01:43 UTC
removing a node
Hi there,
Wanted to clarify with anyone ... re:
http://wiki.apache.org/cassandra/Operations#Removing_nodes_entirely
You can take a node out of the cluster with nodetool decommission to a live
node, or nodetool removetoken (to any other machine) to remove a dead one.
This will assign the ranges the old node was responsible for to other nodes,
and replicate the appropriate data there. If decommission is used, the data
will stream from the decommissioned node. If removetoken is used, the data
will stream from the remaining replicas.
- If the node is alive and functional, the command to be run from that
node is: nodetool decommission
- If the node is dead, the command to be run from another node (or all
other nodes) is: nodetool removetoken <token>
-sd
--
Sasha Dolgy
sasha.dolgy@gmail.com
Re: removing a node
Posted by aaron morton <aa...@thelastpickle.com>.
yes.
dead normally means machine cannot be started.
Aaron
On 10/03/2011, at 6:01 AM, Sasha Dolgy wrote:
>
> Hi there,
>
> Wanted to clarify with anyone ... re: http://wiki.apache.org/cassandra/Operations#Removing_nodes_entirely
>
> You can take a node out of the cluster with nodetool decommission to a live node, or nodetool removetoken (to any other machine) to remove a dead one. This will assign the ranges the old node was responsible for to other nodes, and replicate the appropriate data there. If decommission is used, the data will stream from the decommissioned node. If removetoken is used, the data will stream from the remaining replicas.
>
> If the node is alive and functional, the command to be run from that node is: nodetool decommission
> If the node is dead, the command to be run from another node (or all other nodes) is: nodetool removetoken <token>
>
> -sd
>
> --
> Sasha Dolgy
> sasha.dolgy@gmail.com
>
>