2014-05-15 27 views
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的目录移入了单独的分区

回答

0

commitlog_directory选项在所有节点上可能肯定是有效的。您在日志中看到的消息过于不祥,并且在有效的情况下可以忽略。

通常在从OpsCenter UI单击“配置群集”时会出现这种情况,该操作会根据现有节点的值预填所有cassandra.yaml选项。显示的消息意味着由于节点不具有相同的配置值,因此OpsCenter无法选择要用作模板的节点,因此它会将该选择置于用户的手中。