Syndicate content

Cassandra node says it owns 0%??

Today I ran in a little bit of a problem with an new Cassandra node installation.

After the node was created, I ran nodetool and got this:

 $ bin/nodetool status
Datacenter: dc1
|/ State=Normal/Leaving/Joining/Moving
--  Address    Load       Tokens       Owns (effective)  Host ID   Rack
UN  219.83 KiB 256          0.0%              73bd8721  rack1

It took me a little while to find out that the problem was the IP address. Although it clearly says here, the cassandra.yaml configuration file had localhost.

I edited the cassandra.yaml (after a while trying to find why that would happen) and changed all the localhost into Then it worked as expected and the node said 100.0%.


1. This was testing  the brand new Cassandra 3.9 that just came out (so fresh that most mirrors I tested did not even have the file yet!)

2. The problem is probably that there is a mismatch between localhost and localhost :::1 (i.e. IPv4 and IPv6). So it is listening on IPv4 and the nodetool connects through IPv6. Or something of the sort.

3. My previous version (3.5) was working with localhost in the cassandra.yaml, so that was a new one on that end. That being said, I have had problems with the name confusion before.

Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165


Terms of Site Index

Find the page/content you are looking for with our index.