【发布时间】:2018-01-08 03:01:41
【问题描述】:
我们现有的 Datastax 集群中有 3 个节点。有时环状态显示错误,在错误节点上重新启动 dse 服务后问题得到解决。
正确:
nodetool status
Datacenter: SearchGraph
=======================
UN 10.10.1.56 1015.41 MiB 1 ? 936a1ac0-6d5e-4a94-8953-d5b5a2016b92 rack1
UN 10.10.1.46 961.43 MiB 1 ? 3f41dc2a-2672-47a1-90b5-a7c2bf17fb50 rack1
UN 10.10.1.36 1013.72 MiB 1 ? 0822145f-4225-4ad3-b2be-c995cc230830 rack1
错误:
Datacenter: DC1
===============
?N 10.10.1.46 ? 1 ? null r1
?N 10.10.1.36 ? 1 ? null r1
Datacenter: SearchGraph
=======================
UN 10.10.1.56 1005.33 MiB 1 ? null rack1
所有节点的配置细节都相同:
cat /etc/dse/cassandra/cassandra.yaml | grep endpoint_snitch:
endpoint_snitch: GossipingPropertyFileSnitch
cat /etc/dse/cassandra/cassandra-rackdc.properties |grep -E 'dc=|rack='
dc=SearchGraph
rack=rack1
【问题讨论】:
-
运行 nodetool 命令的节点上的 system.log 中是否有任何内容?
-
@mando222 我只在 system.log 中发现了同样的错误,没有发现异常的日志。谢谢
-
第一次启动/引导后是否立即运行 nodetool 命令?
-
看来八卦出了点问题。最好的检查是在再次发生时从 每个 节点获取
nodetool gossipinfo和nodetool describecluster,并将日志文件发布到可以轻松共享的地方
标签: datastax datastax-enterprise datastax-startup datastax-enterprise-graph