That script is for use with the random partitioner, when using the order
preserving partitioner the tokens have to be manually selected to best
distribute the load.
See the section on Token Selection here
http://wiki.apache.org/cassandra/Operations
Aaron
On 12 Sep 2010, at 04:05, March, And
It should be simpler than that if the wiki is correct. Search the list
archives or wiki for the small script that calculates what the token should be
for each node. After that it should be as simple as using nodetool move on one
node at a time.
On Sep 11, 2010, at 2:00 AM, aaron morton wrote:
See the section on Moving or Removing nodes here
http://wiki.apache.org/cassandra/Operations you should also read the
bootstrapping section as that is essentially what you are doing.
AFAIK you should use nodetool move to assign a new token to the nodes. As you
say, loadbalance is not recommende
we have a Cassandra set up running with 4 nodes with Reflicationfactor:2 and
OrderPreservingPartitioner as partitioner but we have not provided InitialToken
values.
Could some one suggest me what is best way to balance my cluster because some
of user threads have suggested "do not ever run nodet