我正在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%值的想法?
我剛剛配置了節點,並等待節點加載等於通過選擇複製策略來創建密鑰空間。所以,現在只有系統密鑰空間。 –