RE: about the data directory

2011-01-14 Thread raoyixuan (Shandy)
Thanks very much -Original Message- From: sc...@scode.org [mailto:sc...@scode.org] On Behalf Of Peter Schuller Sent: Friday, January 14, 2011 4:40 PM To: user@cassandra.apache.org Subject: Re: about the data directory as a administrator, I want to know why I can read the data from any

RE: about the data directory

2011-01-13 Thread raoyixuan (Shandy)
Not exactly. You mean one data will be put in four nodes which have 25%? If does, how about two replica? From: Viktor Jevdokimov [mailto:viktor.jevdoki...@adform.com] Sent: Thursday, January 13, 2011 2:59 PM To: user@cassandra.apache.org Subject: RE: about the data directory I have 4 nodes

Re: about the data directory

2011-01-13 Thread Peter Schuller
I have 4 nodes, then I  I create one keyspace (such as FOO) with replica factor =1 and insert an data, why I can see the directory of /var/lib/Cassandra/data/FOO in every nodes? As I know, I just have one replica The schema (keyspaces and column families) are global across the cluster

RE: about the data directory

2011-01-13 Thread raoyixuan (Shandy)
Subject: Re: about the data directory I have 4 nodes, then I  I create one keyspace (such as FOO) with replica factor =1 and insert an data, why I can see the directory of /var/lib/Cassandra/data/FOO in every nodes? As I know, I just have one replica The schema (keyspaces and column families

Re: about the data directory

2011-01-13 Thread Peter Schuller
I agree with you totally. but I want to know which node is the data kept? I mean which way to know the actual data kept? If you're just doing testing, you might 'nodetool flush' each host and then look for the sstable being written. Prior to a flush, it's going to sit in a memtable in memory

RE: about the data directory

2011-01-13 Thread raoyixuan (Shandy)
@cassandra.apache.org Subject: Re: about the data directory I agree with you totally. but I want to know which node is the data kept? I mean which way to know the actual data kept? If you're just doing testing, you might 'nodetool flush' each host and then look for the sstable being written

Re: about the data directory

2011-01-13 Thread Peter Schuller
So you mean just the replica node 's sstable will be changed ,right? The data will only be written to the nodes that are part of the replica set fo the row (with the exception of hinted handoff, but that's a different sstable). If all the replica node broke down, whether the users can read the

Re: about the data directory

2011-01-13 Thread Edward Capriolo
] On Behalf Of Peter Schuller Sent: Friday, January 14, 2011 1:19 AM To: user@cassandra.apache.org Subject: Re: about the data directory So you mean just the replica node 's sstable will be changed ,right? The data will only be written to the nodes that are part of the replica set fo the row

RE: about the data directory

2011-01-13 Thread raoyixuan (Shandy)
@cassandra.apache.org Subject: Re: about the data directory On Thu, Jan 13, 2011 at 7:56 PM, raoyixuan (Shandy) raoyix...@huawei.com wrote: I have some confused, why do the users can read the data in all nodes? I mean the data just be kept in the replica, how to achieve it? -Original Message- From

RE: about the data directory

2011-01-12 Thread Viktor Jevdokimov
I have 4 nodes, then I I create one keyspace (such as FOO) with replica factor =1 and insert an data, why I can see the directory of /var/lib/Cassandra/data/FOO in every nodes? As I know, I just have one replica So why do you have installed 4 nodes, not 1? They're for your data to be