Re: problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
Marcus, So what you are saying is that, if i wanna write a php code to load data from a file into cassandra, i dont have to make any separate installations for thrift??? Thanks and Regards, Amrita On Tue, May 31, 2011 at 12:19 PM, Marcus Bointon wrote: > On 31 May 2011, at 08:28, Amrita Jayakum

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Marcus Bointon
On 31 May 2011, at 08:28, Amrita Jayakumar wrote: > Can you please tell me what is thrift and what is it used for??? I mean is it > necessary to use cassandra? do i have to install it separately??? or does it > come along with the cassandra package? It's the underlying protocol stack that cassa

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
Maki, Can you please tell me what is thrift and what is it used for??? I mean is it necessary to use cassandra? do i have to install it separately??? or does it come along with the cassandra package? Thanks and reagards Amrita On Tue, May 31, 2011 at 11:11 AM, Maki Watanabe wrote: > 201

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Maki Watanabe
2011/5/31 Amrita Jayakumar : > Thank You so much Maki :) Its working now... I dont know what went wrong > yesterday... > > BTW bin/cassandra-cli --host localhost is to read and write data using the > command line client right??? Yes. > So what if i need to load data from a file into cassandra???

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
Thank You so much Maki :) Its working now... I dont know what went wrong yesterday... BTW bin/cassandra-cli --host localhost is to read and write data using the command line client right??? So what if i need to load data from a file into cassandra??? i.e.i have a log file with so many lines... l

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Maki Watanabe
You can just start bin/cassandra -f . Readme.txt says: > Now that we're ready, let's start it up! > > * bin/cassandra -f > > Running the startup script with the -f argument will cause Cassandra to > remain in the foreground and log to standard out. So, you need another terminal to run cassandr

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
Hi Maki, I am trying to install apache-cassandra-0.7.6-2. Here are the steps i followed as per the readme file. tar -zxvf apache-cassandra-0.7.6-2.tar.gz cd apache-cassandra-0.7.6-2 sudo mkdir -p /var/log/cassandra sudo chown -R `whoami` /var/log/cassandra sudo mkdir -p /var/lib/ca

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Maki Watanabe
Did you read Jonathan's reply? If you can't understand what README says, please let us know where you are stack on. maki 2011/5/31 Amrita Jayakumar : > can anyone help me how to start with cassandra??? starting from the > basics??? > > Thanks and Regards, > Amrita > > On Mon, May 30, 2011 at 6:4

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
can anyone help me how to start with cassandra??? starting from the basics??? Thanks and Regards, Amrita On Mon, May 30, 2011 at 6:41 PM, Jonathan Ellis wrote: > Here's what README says: > > * bin/cassandra -f > > Running the startup script with the -f argument will cause Cassandra to > remain

Re: clarification of the consistency guarantees of Counters

2011-05-30 Thread Yang
thanks, got it I looked at the code more closely, the response handler between the coordinator and itself as leader, and between leader and replicas, are shared, so the coordinator can indeed wait for the count replication to finish for ALL yang On Mon, May 30, 2011 at 6:51 PM, Jeremy Hanna wrot

Re: clarification of the consistency guarantees of Counters

2011-05-30 Thread Jeremy Hanna
Some more recent documentation can be found here: http://wiki.apache.org/cassandra/Counters but even that may be out of date. One thing that has been added is multiple consistency levels are supported. There are a lot of other tickets that have been completed post 1072. Search for "cassandra

clarification of the consistency guarantees of Counters

2011-05-30 Thread Yang
I went through https://issues.apache.org/jira/browse/CASSANDRA-1072 and realize that the consistency guarantees of Counters are a bit different from those of regular columns, so could you please confirm that the following are true? 1) comment https://issues.apache.org/jira/browse/CASSANDRA-1072?f

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Jonathan Ellis
Here's what README says: * bin/cassandra -f Running the startup script with the -f argument will cause Cassandra to remain in the foreground and log to standard out. Now let's try to read and write some data using the command line client. * bin/cassandra-cli --host localhost The command li

Re: Moving a CF between keyspaces

2011-05-30 Thread Jonathan Ellis
You could do it with some manual surgery on the sstable filenames, but there's no API to do this live. On Mon, May 30, 2011 at 3:13 AM, cbert...@libero.it wrote: > Hi all, > for some reason I have a CF in a Keyspace and I need to duplicate this CF and > its content into another keyspace > Is ther

Read Repair across Multiple Data Centers

2011-05-30 Thread Martin D
Hello, In regards to read repair, what happens when a read happens in a multiple data center environment? Thank you. Martin

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
Marcus, Can u please tell me how to do that??? I was just following the instructions in the README file that came with the package. Thanks and Regards, Amrita On Mon, May 30, 2011 at 2:36 PM, Marcus Bointon wrote: > On 30 May 2011, at 10:59, Amrita Jayakumar wrote: > > > I am new to

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Marcus Bointon
On 30 May 2011, at 10:59, Amrita Jayakumar wrote: > I am new to cassandra. I am trying to start the Cassandra single node setup > using the command > bin/cassandra -f. But there is no response from the prompt.. this is what it > shows I'm new to this too, but I think you're looking at the wron

problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
Hi, I am new to cassandra. I am trying to start the Cassandra single node setup using the command bin/cassandra -f. But there is no response from the prompt.. this is what it shows INFO 14:13:45,867 Logging initialized INFO 14:13:45,903 Heap size: 512753664/513802240 INFO 14:13:45,917 JNA n

Moving a CF between keyspaces

2011-05-30 Thread cbert...@libero.it
Hi all, for some reason I have a CF in a Keyspace and I need to duplicate this CF and its content into another keyspace Is there any best practice to do it or I need to read/write all rows? Best regards Carlo