Thanks Erick,

Issue indeed was caused by cassandra-topology.properties file. Though we don't 
use it we still had it in our config directory. After removing it "nodetool 
status" returns correct topology.

Regards,
Tadevos Papoyan
________________________________
From: Erick Ramirez <erick.rami...@datastax.com>
Sent: Wednesday, May 27, 2020 6:12 AM
To: user@cassandra.apache.org <user@cassandra.apache.org>
Subject: Re: nodetool status shows wrong cluster topology

This isn't expected at all and there's definitely something wrong.

However, when I restart last node (others remain down), when it comes up 
"nodetool status" shows all down nodes under "DC1" no matter how long I wait.

This sounds like the node can't gossip with other nodes. My hypothesis is that 
cassandra-topology.properties gets loaded on startup. The file is used for 
PropertyFileSnitch and it's been known to cause intermittent gossip issues with 
GPFS. That's where the incorrect "DC1" comes from because the node doesn't know 
which DC the other nodes belong to. We haven't been able to replicate the issue 
so I don't know how it gets triggered. I've explained it in detail in a 
previous post [1].

If my hypothesis proves true, you can workaround the problem by deleting 
cassandra-topology.properties. When you restart Cassandra, the node should be 
back to normal. Cheers!

[1] 
https://community.datastax.com/questions/4621/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.datastax.com%2Fquestions%2F4621%2F&data=02%7C01%7Ctpapoyan%40vmware.com%7Caf44156ea94d4de9fbd408d801e368a6%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637261423529136193&sdata=Vg8rwP6TF06l%2Fst3aQgez%2BD1fC4hFo%2BG9jy1iJ1hZ58%3D&reserved=0>

Reply via email to