Re: what is best way to do load balance if cluster has Imbalance load

2010-09-11 Thread aaron morton
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

Re: what is best way to do load balance if cluster has Imbalance load

2010-09-11 Thread March, Andres
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:

Re: what is best way to do load balance if cluster has Imbalance load

2010-09-11 Thread aaron morton
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

what is best way to do load balance if cluster has Imbalance load

2010-09-11 Thread maneela a
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