我正在Windows平台中构建的Cassandra集群上运行4节点。当我种子节点上运行4节点Cassandra集群,每个集群都有50.00%
nodetool -h本地主机环
命令时,可以看到向上状态,正常状态,自己的50.00%我希望看到25.00%每个节点。这是正常的,看到每个节点拥有50.00%?
这里是每个节点的配置;
1.节点
rpc_address: 0.0.0.0
initial_token: -9223372036854775808
listen_address: [IP Addres of the machine]
seeds: "[IP Addres of the seed machine (1. Node)]"
2.节点
rpc_address: 0.0.0.0
initial_token: -4611686018427387904
listen_address: [IP Addres of the machine]
seeds: "[IP Addres of the seed machine (1. Node)]"
3.节点
rpc_address: 0.0.0.0
initial_token: 0
listen_address: [IP Addres of the machine]
seeds: "[IP Addres of the seed machine (1. Node)]"
4节点
rpc_address: 0.0.0.0
initial_token: 4611686018427387904
listen_address: [IP Addres of the machine]
seeds: "[IP Addres of the seed machine (1. Node)]"
通过使用该公式计算的初始令牌; (2^64/4)* [NodeIndex] - 2^63
Cassandra 1.2.1安装在每个节点中。任何关于每个节点的50.00%值的想法?
我刚刚配置了节点,并等待节点加载等于通过选择复制策略来创建密钥空间。所以,现在只有系统密钥空间。 –