Why is my Cassandra node stuck joining the ring?

I have a Cassandra node that connects an existing cluster. It starts loading itself, transfers the data stream (controlled via nodetool netstats ), and then it seems to end, but in fact it does not join the ring. What a deal? How do I understand what is going on? There are no errors in the logs at all, there was a lot of time, and the Cassandra process does very little.

+4
source share
1 answer

In this case, I turned on the allll debug log in /etc/cassandra/log4j-server.properties and sifted through the output pins until I noticed a couple of statements about OutboundTCP: attempting to connect to *host* , which appeared for specific hosts, but not For others. Further research showed that there was a limited connection between some nodes in the cluster due to the network configuration, which was my own mistake: the new node could only connect to 3 out of 5 other hosts in the cluster.

After that, node was able to transfer additional data, and I was free to continue religious execution. * (In addition, I ran nodetool repair everywhere from paranoia.)

+6
source

All Articles