Re: Understanding Virtual Nodes on Cassandra 1.2

2013-02-01 Thread aaron morton
> Are there tickets/documents explain how data be replicated on Virtual Nodes? This http://www.datastax.com/dev/blog/virtual-nodes-in-cassandra-1-2 Check the changes.txt file, they link to tickets. not many people use BOP so you may be exploring new'ish territory. Try asking someone on the IRC

Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-31 Thread Manu Zhang
On Thu 31 Jan 2013 03:43:32 AM CST, Zhong Li wrote: Are there tickets/documents explain how data be replicated on Virtual Nodes? If there are multiple tokens on one physical host, may a chance two or more tokens chosen by replication strategy located on same host? If move/remove/add a token manua

Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-30 Thread Zhong Li
Are there tickets/documents explain how data be replicated on Virtual Nodes? If there are multiple tokens on one physical host, may a chance two or more tokens chosen by replication strategy located on same host? If move/remove/add a token manually, does Cassandra Engine validate the case? T

Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-30 Thread Zhong Li
> You add a physical node and that in turn adds num_token tokens to the ring. No, I am talking about Virtual Nodes with order preserving partitioner. For an existing host with multiple tokens setting list on cassandra.inital_token. After initial bootstrapping, the host will not aware changes of

Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-30 Thread Manu Zhang
On Wed 30 Jan 2013 02:29:27 AM CST, Zhong Li wrote: One more question, can I add a virtual node manually without reboot and rebuild a host data? I checked nodetool command, there is no option to add a node. Thanks. Zhong On Jan 29, 2013, at 11:09 AM, Zhong Li wrote: I was misunderstood thi

Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-29 Thread Zhong Li
One more question, can I add a virtual node manually without reboot and rebuild a host data? I checked nodetool command, there is no option to add a node. Thanks. Zhong On Jan 29, 2013, at 11:09 AM, Zhong Li wrote: > I was misunderstood this > http://www.datastax.com/dev/blog/virtual-node

Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-29 Thread Zhong Li
I was misunderstood this http://www.datastax.com/dev/blog/virtual-nodes-in-cassandra-1-2 , especially "If you want to get started with vnodes on a fresh cluster, however, that is fairly straightforward. Just don’t set the initial_token parameter in yourconf/cassandra.yaml and instead enable th

Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-29 Thread aaron morton
> After I searched some document on Datastax website and some old ticket, seems > that it works for random partitioner only, and leaves order preserved > partitioner out of the luck. Links ? > or allow add Virtual Nodes manually? If not looked into it but there is a cassandra.inital_token sta

Understanding Virtual Nodes on Cassandra 1.2

2013-01-28 Thread Zhong Li
Hi All, Virtual Nodes is great feature. After I searched some document on Datastax website and some old ticket, seems that it works for random partitioner only, and leaves order preserved partitioner out of the luck. I may misunderstand, please correct me. if it doesn't love order preserved par