我在 Windows 平台构建的 Cassandra 集群上运行 4 个节点。当我跑
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) * [节点索引] - 2^63
Cassandra 1.2.1 安装在每个节点上。关于每个节点的 50.00% 值的任何想法?