The Linux Page

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

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.


Terms of Site Index

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

  • Bill Armend
    Author of Fox Trot comic strips and books. His website
  • extension
  • radio

    In the computer world, the term radio is often used for radio buttons.

    Radio buttons are a group of seletable buttons, however, only one of the buttons can be selected in a group. This is called an exclusive choice. Programmatically, when the end user clicks on a button, the computer makes sure that all the other buttons are de-selected.

    The result of the selection is often a number representing the selected button.

  • validator
  • zoom

    The effect of enlarging (zoom in) or reducing (zoom out) what you see on your screen.

    Note that enlarging generally pixelizes the data unless you have an image with very high precision.

    On the other hand, reducing merges colors together and thus generates a blury image.