One of the existing nodes in a 5 node Cassandra (3.9) cluster fails to come up.
I noticed the node to be down and tried to restart using the command
service cassandra restart
But the node fails to come and I see the below exception in system.log
ERROR [main] 2017-04-14 10:03:49,959 CassandraDaemon.java:747 - Exception encountered during startup java.lang.RuntimeException: Cannot replace address with a node that is already bootstrapped 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) [apache-cassandra-3.9.jar:3.9] at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:601) [apache-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 in silent shutdown, not announcing shutdown WARN [StorageServiceShutdownHook] 2017-04-14 10:51:49,539 Gossiper.java:1508 - No local state or state is in silent shutdown, not announcing shutdown
Thanks
cassandra-env.shit looks like there is an replace address configured there? - Marko Švaljek