Re: distribution of token ranges with virtual nodes

2013-01-09 Thread Manu Zhang
Is cassandra-shuffle command in the trunk? Or it is only included in the Debian package? I don't find it in the trunk. On Sat, Nov 3, 2012 at 2:18 AM, Eric Evans eev...@acunu.com wrote: On Fri, Nov 2, 2012 at 12:38 AM, Manu Zhang owenzhang1...@gmail.com wrote: It splits into a contiguous

Re: distribution of token ranges with virtual nodes

2013-01-09 Thread Jason Wee
It should be in the trunk, check it https://github.com/apache/cassandra/blob/trunk/bin/cassandra-shuffle On Thu, Jan 10, 2013 at 1:18 AM, Manu Zhang owenzhang1...@gmail.com wrote: Is cassandra-shuffle command in the trunk? Or it is only included in the Debian package? I don't find it in the

Re: distribution of token ranges with virtual nodes

2013-01-09 Thread Manu Zhang
sorry, I missed it since it's not executable by default. On Thu, Jan 10, 2013 at 10:05 AM, Jason Wee peich...@gmail.com wrote: It should be in the trunk, check it https://github.com/apache/cassandra/blob/trunk/bin/cassandra-shuffle On Thu, Jan 10, 2013 at 1:18 AM, Manu Zhang

Re: distribution of token ranges with virtual nodes

2012-11-02 Thread Eric Evans
On Fri, Nov 2, 2012 at 12:38 AM, Manu Zhang owenzhang1...@gmail.com wrote: It splits into a contiguous range, because truly upgrading to vnode functionality is another step. That confuses me. As I understand it, there is no point in having 256 tokens on same node if I don't commit the shuffle

Re: distribution of token ranges with virtual nodes

2012-11-01 Thread Manu Zhang
it will migrate you to virtual nodes by splitting the existing partition 256 ways. Out of curiosity, is it for the purpose of avoiding streaming? the former would require you to perform a shuffle to achieve that. Is there a nodetool option or are there other ways shuffle could be done

Re: distribution of token ranges with virtual nodes

2012-11-01 Thread Brandon Williams
On Thu, Nov 1, 2012 at 10:05 PM, Manu Zhang owenzhang1...@gmail.com wrote: it will migrate you to virtual nodes by splitting the existing partition 256 ways. Out of curiosity, is it for the purpose of avoiding streaming? It splits into a contiguous range, because truly upgrading to vnode

Re: distribution of token ranges with virtual nodes

2012-11-01 Thread Manu Zhang
It splits into a contiguous range, because truly upgrading to vnode functionality is another step. That confuses me. As I understand it, there is no point in having 256 tokens on same node if I don't commit the shuffle On Fri, Nov 2, 2012 at 11:10 AM, Brandon Williams dri...@gmail.com

distribution of token ranges with virtual nodes

2012-10-31 Thread John Sanda
I am not entirely clear on what http://wiki.apache.org/cassandra/VirtualNodes/Balance#imbalance is saying with respect to random vs. manual token selection. Can/should i assume that i will get even range distribution or close to it with random token selection? For the sake of discussion, what is a

Re: distribution of token ranges with virtual nodes

2012-10-31 Thread Eric Evans
On Wed, Oct 31, 2012 at 11:38 AM, John Sanda john.sa...@gmail.com wrote: Can/should i assume that i will get even range distribution or close to it with random token selection? The short answer is: If you're using virtual nodes, random token selection will give you even range distribution.