0

每个节点有不同的 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 目录移动到单独的分区中

4

1 回答 1

0

commitlog_directory 选项在所有节点上不是同质的肯定有正当的理由。您在日志中看到的消息过于不祥,在有效情况下可以忽略。

通常在从 OpsCenter UI 中单击“配置集群”时会发生这种情况,它会根据现有节点的值预填充所有 cassandra.yaml 选项。显示的消息意味着由于节点没有相同的配置值,OpsCenter 无法选择一个节点用作模板,因此它将选择权交给用户。

于 2014-05-19T00:26:13.323 回答