Reputation: 43
I am trying to add a new node to an existing cluster. When I start cassandra on the new node I am seeing the below error.
ERROR [main] 2024-11-27 17:04:13,039 CassandraDaemon.java:759 - Exception encountered during startup
java.lang.IllegalStateException: No sources found for (6583315391450457888,6586615426701824871]
Has anyone had this before or have any suggestions on what this could mean?
Thanks
Upvotes: 0
Views: 40
Reputation: 16353
To add to @Chris Lohfink's answer, the new node is trying to bootstrap itself by requesting data from other replicas. However, it can't find a replica that has the data for the given token range so it reports it as an IllegalStateException
.
You commented that you changed the replication of some keyspaces and decommissioned a node. There is a good chance that one (or more) keyspaces are misconfigured so the new node is not able to find a replica and it's almost always a keyspace replicated to a non-existent DC.
As a friendly note, you are more likely to get help if you make it easy for someone else by providing as much relevant detail as possible. The common things you should include specific to your issue are:
If you're interested, I've written a guide to asking good questions on the official Apache Cassandra website.
If you update your original post with the output of nodetool status
from one of the nodes and all the CREATE KEYSPACE
definitions from the schema, I'd be happy to review them and provide additional pointers. Cheers!
Upvotes: 0
Reputation: 16410
Most likely you have a keyspace that is replicating to a data center that doesnt exist. When it starts bootstrapping its looking to stream data from it but it cant find any nodes. Type describe schema
in cqlsh on a different node and look for the CREATE KEYSPACE
lines and go over them. It is case sensitive so look carefully.
Upvotes: 1