Questions about the nodetool ring.

2011-04-12 Thread Dikang Gu
I have 3 cassandra 0.7.4 nodes in a cluster, and I get the ring stats: [root@yun-phy2 apache-cassandra-0.7.4]# bin/nodetool -h 192.168.1.28 -p 8090 ring Address Status State LoadOwnsToken 109028275973926493413574716008500203721 192.168.1.25Up Normal 157.25 MB

Re: Questions about the nodetool ring.

2011-04-12 Thread Jonathan Colby
This is "normal" when you just add single nodes. When no token is assigned, the new node takes a portion of the ring from the most heavily loaded node. As a consequence of this, the nodes will be out of balance. In other words, when you double the amount nodes you would not have this probl

Re: Questions about the nodetool ring.

2011-04-12 Thread Dikang Gu
The 3 nodes were added to the cluster at the same time, so I'm not sure whey the data vary. I calculate the tokens and get: node 0: 0 node 1: 56713727820156410577229101238628035242 node 2: 113427455640312821154458202477256070485 So I should set these tokens to the three nodes? And during the tim

Re: Questions about the nodetool ring.

2011-04-12 Thread Dikang Gu
After the nodetool move, I got this: [root@server3 apache-cassandra-0.7.4]# bin/nodetool -h 10.18.101.213 ring Address Status State LoadOwnsToken 113427455640312821154458202477256070485 10.18.101.211 ? Normal 82.31 MB33.33% 0 10.18.101.212 ? No

Re: Questions about the nodetool ring.

2011-04-12 Thread Jonathan Colby
when you do a move, the node is decommissioned and bootstrapped. During the autobootstrap process the node will not receive reads until bootstrapping is complete. I assume during the decommission phase the node will also be unavailable, someone correct me if I'm wrong. the ring distribution l

Re: Questions about the nodetool ring.

2011-04-12 Thread aaron morton
If you are seeing a different views of the ring from different nodes you may have some sickness http://www.datastax.com/docs/0.7/troubleshooting/index#view-of-ring-differs-between-some-nodes The "?" in the ring output happens when one node does not know if the other is alice or dead. This could