【问题标题】:cassandra node discoverycassandra节点发现
【发布时间】:2011-11-15 09:56:56
【问题描述】:

我刚刚建立了一个 3 节点系统,IP 地址为“192.168.0.101”、“192.168.0.102”、“192.168.0.103”。我已将所有三台机器的配置中的种子值设置为 seeds: "192.168.0.101,192.168.0.102,192.168.0.103"

但是,在其中任何一个上运行 nodetool 时,只会发现 103 机器。

node101:/opt/cassandra/apache-cassandra-0.8.5/bin# ./nodetool ring -h 192.168.0.101 地址 DC 机架状态 状态负载拥有令牌

192.168.0.103 datacenter1 rack1 Up Normal 151.96 KB
100.00% 38174485210079977599903748344879358256

谁能告诉我问题出在哪里?

【问题讨论】:

    标签: cassandra


    【解决方案1】:

    我会推荐

    1. 确保您使用的是 Cassandra 的最新稳定版本
    2. 从单个节点开始作为所有机器上的种子(例如 .101)
    3. 将此添加到 log4j-server.properties:

      log4j.logger.org.apache.cassandra.gms=TRACE

    【讨论】:

      猜你喜欢
      • 2014-05-14
      • 2017-09-05
      • 1970-01-01
      • 2018-11-08
      • 2016-07-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多