Hey all, I'm attempting to decommission a node I want to remove.
First I get a status of the ring [root@beta-new:~] #nodetool status Datacenter: datacenter1 ======================= Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens Owns Host ID Rack UN 10.10.1.94 197.37 KB 256 49.4% fd2f76ae-8dcf-4e93-a37f-bf1e9088696e rack1 UN 10.10.1.18 216.95 KB 256 50.6% f2a48fc7-a362-43f5-9061-4bb3739fdeaf rack I see that the node I want to remove is UP. Tho I believe UN means up I don't know what it stands for. [root@beta-new:~] #nodetool -host 10.10.1.18 decommission Failed to connect to ' 10.10.1.18 : Connection timed out The connection to the node I want to decommission times out. :( I’m running this node from the seed node, and while I do see port 7199 active and listening there, I do NOT see this port active and listening on the node that I want to decommission. Seed node: [root@beta-new:~] #lsof -i :7199 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 15331 root 51u IPv4 566368606 0t0 TCP *:7199 (LISTEN) [root@beta:/etc/alternatives/cassandrahome] #lsof -i :7199 [root@beta:/etc/alternatives/cassandrahome] # However cassandra does seem to be running on the node I want to decommission in addition to it being shown as UN by nodetool status: [root@beta:/etc/alternatives/cassandrahome] #netstat -tulpn | grep -i listen | grep java tcp 0 0 0.0.0.0:46755 0.0.0.0:* LISTEN 23039/java tcp 0 0 10.10.1.18:9160 0.0.0.0:* LISTEN 23039/java tcp 0 0 0.0.0.0:42990 0.0.0.0:* LISTEN 23039/java tcp 0 0 10.10.1.18:8081 0.0.0.0:* LISTEN 23039/java tcp 0 0 10.10.1.18:9042 0.0.0.0:* LISTEN 23039/java tcp 0 0 10.10.1.18:7000 0.0.0.0:* LISTEN 23039/java tcp 0 0 0.0.0.0:7198 0.0.0.0:* LISTEN 23039/java So why do you think my seed is listening on port 7199 but the node I want to get rid of is not? And how can I accomplish my goal of deleting the unwanted node? Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B