Cassandra:Nodetool 显示“?”在拥有

Cassandra: Nodetool showing "?" in Owns

我想知道为什么 nodetools 不知道我的节点处理的环的百分比...

我用

创建了这个键空间

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

有人知道吗?

你在底部看到了吗?

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

您是否有一个 opscenter/其他具有不同复制设置的密钥空间?在这种情况下,所有权是 "meaningless",你得到的是一个 ?

好的,知道了。我必须指定一个键空间!

nodetool status mykeyspace

成功了

这些步骤对我很有帮助。 杀死恶魔并重启 Casansdra。

节点工具状态 错误>>

注意:非系统键空间没有相同的复制设置,有效的所有权信息没有意义

杀死坎桑德拉恶魔。 nodetool stopdemon systemctl状态卡桑德拉 systemctl 启动 cassandra 节点工具状态 好的 [root@ip-10-0-1-10 centos]# cqlsh localhost