Cassandra: Can't replace the address of a node that is already loaded
Cannot find one of the existing nodes in cluster 5 node Cassandra (3.9).
I noticed that node was shutdown and tried to restart using the command
restarting the cassandra service
But node doesn't fit and I see the following exception in system.log
ERROR [main] 2017-04-14 10: 03: 49.959 CassandraDaemon.java:747 - Exception thrown during startup java.lang.RuntimeException: Unable to replace the address of a node that is already loaded at org.apache.cassandra.service. StorageService.prepareToJoin (StorageService.java:752) ~ [Apache Cassandra 3.9.jar: 3.9] at org.apache.cassandra.service.StorageService.initServer (StorageService.java:648) ~ [Apache Cassandra 3.9.jar : 3.9] at org.apache.cassandra.service.StorageService.initServer (StorageService.java:548) ~ [Apache Cassandra 3.9.jar: 3.9] at org.apache.cassandra.service.CassandraDaemon.setup ( CassandraDaemon.java:385) [Apasha-Cassandra-3.9.jar: 3.9] at org.apache.cassandra.service.CassandraDaemon.activate (CassandraDaemon.java:601) [Apasha-Cassandra-3.9.jar: 3.9 ] at org.apache.cassandra.service.CassandraDaemon.main (CassandraDaemon.java:730) [apache-cassandra-3.9.jar: 3.9] WARN [StorageServiceShutdownHook] 2017-04-14 10: 03: 49.963 Gossiper.java:1508 - No local state or state is silent, not announcing shutdown WARN [StorageServiceShutdownHook] 2017-04-14 10: 51: 49,539 Gossiper.java:1508 - no local or silent state, no shutdown
thank
source to share
Have a look at this manual, basically you have a dead node in the cluster going on all the time;)
https://blog.alteroot.org/articles/2014-03-12/replace-a-dead-node-in-cassandra.html
Plus some additional descriptions: https://issues.apache.org/jira/browse/CASSANDRA-7356
Plus check that you are also removing the address from:
/etc/cassandra/cassandra-env.sh
source to share