每一个节点都有一个不同的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的分区大小较小,所以我将提交日志dir移动到单独的分区中。
发布于 2014-05-19 00:26:13
当然,commitlog_directory选项并不是所有节点都是一致的,这是有充分理由的。您在日志中看到的消息过于不祥,在有效情况下可以忽略。
通常在单击OpsCenter UI中的“配置群集”时会发生这种情况,这将根据现有节点的值预先填充所有cassandra.yaml选项。显示的消息意味着,由于节点没有相同的配置值,因此OpsCenter无法选择一个节点作为模板,因此它将该选择放在用户手中。
https://stackoverflow.com/questions/23674264
复制相似问题