Re: calculating initial_token

2011-03-14 Thread aaron morton
Once the node has started once, it will not use the value for initial_token in cassandra.yaml. Use nodetool move to assign a new token to the node. nodetool loadbalance is generally a bad idea www.spidertracks.com Aaron On 15 Mar 2011, at 13:04, Narendra Sharma wrote: > The %age (owns) is jus

Re: calculating initial_token

2011-03-14 Thread Narendra Sharma
The %age (owns) is just the arc length in terms of %age of tokens a node owns out of the total token space. It doesn't reflect the actual data. The size (load) is the real current load. -Naren On Mon, Mar 14, 2011 at 2:59 PM, Sasha Dolgy wrote: > ah, you know ... i have been reading it wrong.

Re: calculating initial_token

2011-03-14 Thread Sasha Dolgy
ah, you know ... i have been reading it wrong. the output shows a nice fancy column called "Owns" but i've only ever seen the percentage ... the amount of data or "load" is even ... doh. thanks for the reply. cheers -sd On Mon, Mar 14, 2011 at 10:47 PM, Narendra Sharma wrote: > On the same pag

Re: calculating initial_token

2011-03-14 Thread Narendra Sharma
On the same page there is a section on Load Balance that talks about python script to compute tokens. I believe your question is more about assigning new tokens and not compute tokens. 1. "nodetool loadbalance" will result in recomputation of tokens. It will pick tokens based on the load and not t

calculating initial_token

2011-03-14 Thread Sasha Dolgy
Sorry for being a bit daft ... Wanted a bit of validation or rejection ... If I have a 6 node cluster, replication factor 2 (don't think this is applicable to the token decision) is the following sufficient and correct for determining the tokens: #!/bin/bash for nodes in {0..5}; do echo "$nod