Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-30 Thread Zhong Li
? Thanks. On Jan 30, 2013, at 12:46 PM, Zhong Li wrote: >> 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 cassand

Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-30 Thread Zhong Li
of cassandra.inital_token. If I want add a new token( virtual node), I have to rebuild the host with new token list. My question is if there is way to add a virtual nodes without rebuild it? Thanks, On Jan 30, 2013, at 10:21 AM, Manu Zhang wrote: > On Wed 30 Jan 2013 02:29:27 AM CST, Zh

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/v

Re: Understanding Virtual Nodes on Cassandra 1.2

2013-01-29 Thread Zhong Li
g to balance your row keys > around the token space. > > Cheers > > - > Aaron Morton > Freelance Cassandra Developer > New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 29/01/2013, at 10:31 AM, Zhong Li wrote: > >>

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

Re: [RELEASE] Apache Cassandra 1.0.5 released

2011-12-05 Thread Zhong Li
You may run "stress -d " to create Standard1 CF and data. On Dec 3, 2011, at 3:44 PM, wrote: > Hi Zhong Li, > > When I used stress tool to test, I got: > > Operation [15] retried 10 times - error inserting key 0015 > ((InvalidRequestException): unconfi

Re: [RELEASE] Apache Cassandra 1.0.5 released

2011-12-02 Thread Zhong Li
wrote: >>> Hello, >>> >>> Is this bug serious enough for 1.0.6 to come out shortly or not? >>> >>> Thank you, >>> PBR >>> >>> >>> >>> On Thu, Dec 1, 2011 at 6:05 PM, Zhong Li wrote: >>>> >>

Re: [RELEASE] Apache Cassandra 1.0.5 released

2011-12-01 Thread Zhong Li
After upgrade to 1.0.5 RangeSlice got timeout. Ticket https://issues.apache.org/jira/browse/CASSANDRA-3551 On Dec 1, 2011, at 5:43 PM, Evgeniy Ryabitskiy wrote: > +1 > After upgrade to 1.0.5 also have Timeout exception on Secondary Index search > (get_indexed_slices API) .

Re: Fail to upgrade to 1.0.0 from 0.8.5

2011-10-27 Thread Zhong Li
Done. https://issues.apache.org/jira/browse/CASSANDRA-3407 On Oct 27, 2011, at 3:40 AM, Sylvain Lebresne wrote: > Do you mind opening a bug report on > https://issues.apache.org/jira/browse/CASSANDRA? > > -- > Sylvain > > On Thu, Oct 27, 2011 at 12:35 AM, Zhong Li

Import JSON sstable data

2011-09-02 Thread Zhong Li
Hi, I try to upload sstable data on cassandra 0.8.4 cluster with json2sstable tool. Each time I have to restart the node with new file imported and do repair for the column family, otherwise new data will not show. Any thoughts? Thanks, Zhong Li

Migrate from 0.6.5 to 0.7.2

2011-02-23 Thread Zhong Li
, Zhong Li

Re: Cassandra performance

2010-09-17 Thread Zhong Li
This is my personal experiences. MySQL is faster than Cassandra on most normal use cases. You should understand why you choose Cassandra instead of MySQL. If one central MySQL can handle your workload, MySQL is better than Cassandra. BUT if you are overload one MySQL and want multiple boxes

Re: data deleted came back after 9 days.

2010-08-23 Thread Zhong Li
This was a mistake, there was one node set ReplicationFactor as 3. So Node3 has data. On Aug 23, 2010, at 10:21 AM, Zhong Li wrote: 1) I am using RackUnwarePartioner. 2) All nodes were rebuilt since we installed the system, we didn't do cleanup although. But Node1's data on

Re: data deleted came back after 9 days.

2010-08-23 Thread Zhong Li
a on Node1, the FailureDetector may mark Node1 is live, but the writing may fail. What will Cassandra do next after a failed writing? Because the Consistency Level is One, will NodeW write data on Node2? If it will, will Node2 replace data on Node3? Thanks, Zhong Li On Aug 23, 2010, at 12:03 AM,

Re: data deleted came back after 9 days.

2010-08-22 Thread Zhong Li
raceSeconds first to make the tombstones un-expired first. On Wed, Aug 18, 2010 at 12:43 AM, Benjamin Black wrote: On Tue, Aug 17, 2010 at 7:49 PM, Zhong Li wrote: Those data were inserted one node, then deleted on a remote node in less than 2 seconds. So it is very possible some node lost tombst

Re: data deleted came back after 9 days.

2010-08-17 Thread Zhong Li
Those data were inserted one node, then deleted on a remote node in less than 2 seconds. So it is very possible some node lost tombstone when connection lost. My question, is a ConstencyLevel.ALL read can retrieve lost tombstone back instead of repair? On Aug 17, 2010, at 4:11 PM, Ned Wol

Re: data deleted came back after 9 days.

2010-08-17 Thread Zhong Li
864000 It is default 10 days. I checked all system.log, all nodes are connected, although not all the time, but they reconnected after a few minutes. None of node disconnected more than GC grace seconds. Best, On Aug 17, 2010, at 11:53 AM, Peter Schuller wrote: We have 10 nodes cross 5

Re: data deleted came back after 9 days.

2010-08-17 Thread Zhong Li
Cassandra version is 0.6.3 On Aug 17, 2010, at 11:39 AM, Zhong Li wrote: Hi All, We have strange issue here. We have 10 nodes cross 5 datacenters. Today I found a strange thing. On one node, few data deleted came back after 8-9 days. The data saved on a node and retrieved/deleted on

data deleted came back after 9 days.

2010-08-17 Thread Zhong Li
possible causing this? Thanks, Zhong Li

Re: How to migrate any relational database to Cassandra

2010-08-07 Thread Zhong Li
Yes, I use OrderPreservngPartitioner, the token considers datacenter+ip +function+timestamp+recordId+... On Aug 7, 2010, at 10:36 PM, Jonathan Ellis wrote: are you using OrderPreservingPartitioner then? On Sat, Aug 7, 2010 at 10:32 PM, Zhong Li wrote: Here is just my personal experiences

Re: How to migrate any relational database to Cassandra

2010-08-07 Thread Zhong Li
Here is just my personal experiences. I recently use Cassandra to implement a system cross 5 datacenters. Because it is impossible to do it in SQL Database at low cost, Cassandra helps. Cassandra is all about indexing, there is no relationship naturally, you have to use indexing to keep a

Re: set ReplicationFactor and Token at Column Family/SuperColumn level.

2010-08-06 Thread Zhong Li
If I create 3-4 keyspaces, will this impact performance and resources (esp. memory and disk I/O) too much? Thanks, Zhong On Aug 5, 2010, at 4:52 PM, Benjamin Black wrote: On Thu, Aug 5, 2010 at 12:59 PM, Zhong Li wrote: The big thing bother me is initial ring token. We have some

set ReplicationFactor and Token at Column Family/SuperColumn level.

2010-08-05 Thread Zhong Li
All, Thanks for Apache Cassandra Project, it is great project. This is my first time to use it. We install it on 10 nodes and runs great. The 10 nodes cross all 5 datacenters around the world. The big thing bother me is initial ring token. We have some Column Families. It is very hard to c