0
每個節點有不同的commitlog_directory是否不好? OpsCenter在其日誌中正在打印以下錯誤:有關不同commitlog_directory的警告
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的目錄移入了單獨的分區