Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cassandra: Nodetool showing "?" in Owns

I wonder why nodetools don't know the percentage of the ring handeld by my node...

I created this keyspace with

CREATE KEYSPACE mykeyspace WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '3'} AND durable_writes = true;

when nodetool status

Someone has a clue?

like image 743
Jurudocs Avatar asked Apr 28 '15 14:04

Jurudocs


People also ask

How do I check my Cassandra status?

Check the status of the Cassandra nodes in your cluster - Go to the /<Install_Dir>/apache-cassandra/bin/ directory and type the ./nodetool status command. If the status for all the nodes shows as UN , then the nodes are up and running. If the status for any node shows as DN , then that particular node is down.

What is Nodetool repair in Cassandra?

Repairs one or more tables. The repair command repairs one or more nodes in a cluster, and provides options for restricting repair to a set of nodes, see Repairing nodes. Performing an anti-entropy node repair on a regular basis is important, especially in an environment that deletes data frequently.


2 Answers

okay got it. I have to specify a keyspace!

nodetool status mykeyspace

does the trick

like image 146
Jurudocs Avatar answered Oct 13 '22 09:10

Jurudocs


Do you get this at the bottom?

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

Do you have an opscenter / other keyspaces with different replication settings? In which case, ownership is "meaningless", and what you get is a ?

like image 10
ashic Avatar answered Oct 13 '22 10:10

ashic