Wednesday, April 08, 2015

Cassandra - Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless

In cassandra 2.1.4, if you run "nodetool status" without any keyspace specified, you will get a Note:

$ nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address    Load       Tokens  Owns    Host ID                               Rack
UN  127.0.0.1  71.47 KB   256     ?       2d428831-4551-43ec-9a90-254adc9c214e  rack1

Note: Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless

That's not an error. It is an informative message when using 'nodetool status' without specifying a keyspace.

$ nodetool status tweetsentiment
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address    Load       Tokens  Owns (effective)  Host ID                               Rack
UN  127.0.0.1  71.47 KB   256     100.0%            2d428831-4551-43ec-9a90-254adc9c214e  rack1

3 comments:

Ajmal Sha said...

whats the reason behind it?

i also stuck in this same situation?

can you heelp me?

Ajmal Sha said...

i also stuck in this situation can you help me?

Tony Xu said...

Hi Ajmal:

This is not a issue/problem. What you need to do is just provide a name for the keyspace you want to check.