每个节点有不同的 commitlog_directory 是不是很糟糕?OpsCenter 在其日志中打印以下错误:
ERROR: Problem while calling CassandraConfDcController (ConfMismatch): The confs across your Cassandra nodes do not match. The following groups of nodes have matching configs:
<host1>
<host2>
The following conf options differ across nodes:
commitlog_directory
File "/usr/share/opscenter/lib/py-redhat/2.6/shared/amd64/twisted/internet/defer.py", line 1020, in _inlineCallbacks
result = g.send(result)
File "/usr/lib/python2.6/site-packages/opscenterd/WebServer.py", line 452, in get_cassandra_conf
File "/usr/lib/python2.6/site-packages/opscenterd/WebServer.py", line 393, in assert_conf_matches
两个节点都是 Cassandra 节点。我的 commitlog_directory 不匹配的原因是 host1 的分区大小较小,所以我将 commitlog 目录移动到单独的分区中