Hi - I hope someone can help
I had three nodes as below, one of them in the wrong datacenter:
ubuntu@ds201-node1:~/node3$ bin/nodetool status Datacenter: Cassandra ===================== Status=Up/Down|/ State=Normal/Leaving/Joining/Moving-- Address Load Tokens Owns Host ID Rack UN 127.0.0.3 233.64 KiB 128 ? b84ac6a8-2895-4f2e-bfc8-8478df2bcebc rack1 Datacenter: east-side ===================== Status=Up/Down|/ State=Normal/Leaving/Joining/Moving-- Address Load Tokens Owns Host ID Rack UN 127.0.0.2 242.24 KiB 128 ? 99ec4273-7960-40fe-ae3a-574c9981138f hakuna-matata Datacenter: west-side ===================== Status=Up/Down|/ State=Normal/Leaving/Joining/Moving-- Address Load Tokens Owns Host ID Rack UN 127.0.0.1 205.01 KiB 128 ? 2708096e-7256-469c-8cb9-1d1e43c6e837 hakuna-matata Note: Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless
I issued the following command, intending to decommission node 3, from within the node 3 filepath:
ubuntu@ds201-node1:~/node3/bin$ nodetool -h 127.0.0.3 decommission -f
Then immediately after, I ran nodetool status, and as you can see, I've lost node 1.
ubuntu@ds201-node1:~/node3/bin$ nodetool status Datacenter: Cassandra ===================== Status=Up/Down|/ State=Normal/Leaving/Joining/Moving-- Address Load Tokens Owns Host ID Rack UN 127.0.0.3 233.64 KiB 128 ? b84ac6a8-2895-4f2e-bfc8-8478df2bcebc rack1 Datacenter: east-side ===================== Status=Up/Down|/ State=Normal/Leaving/Joining/Moving-- Address Load Tokens Owns Host ID Rack UN 127.0.0.2 227.68 KiB 128 ? 99ec4273-7960-40fe-ae3a-574c9981138f hakuna-matata Note: Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless
What have I done wrong?