Re: problem in using get_range() function

2011-06-13 Thread Amrita Jayakumar
> > More info: > http://ria101.wordpress.com/2010/02/22/cassandra-randompartitioner-vs-orderpreservingpartitioner/ > > On Mon, Jun 13, 2011 at 8:47 AM, Amrita Jayakumar < > amritajayakuma...@gmail.com> wrote: > >> Hi, >> I am trying to retrieve the r

problem in using get_range() function

2011-06-13 Thread Amrita Jayakumar
Hi, I am trying to retrieve the row_keys in a column_family witht he following code. $rows = $column_family->get_range($key_start='R17889000', $key_finish='R17893999', $row_count=1000); $count = 0; foreach($rows as $rows) { echo $count.''; $count += 1;

Re: how to retrieve data from supercolumns by phpcassa ?

2011-06-08 Thread amrita
Hi, Can u please tell me how to create a supercolumn and retrieve data from it using phpcassa??? student_details{{,,{,}}}

Re: starting with PHPcassa

2011-05-31 Thread Amrita Jayakumar
ver's fully qualified domain name, using 127.0.0.1 for ServerName Thanks and Regards, Amrita On Wed, Jun 1, 2011 at 11:50 AM, Marcus Bointon wrote: > On 1 Jun 2011, at 08:12, Amrita Jayakumar wrote: > > I have deployed this code into a php file *phcass.php* in the ubuntu > machine

Re: starting with PHPcassa

2011-05-31 Thread Amrita Jayakumar
Hi, I have a column family Users. at present these are two keys in it. *ajayakumar {* => (column=age, value=22, timestamp=1306820564285000) => (column=first, value=amrita, timestamp=1306820515836000) => (column=last, value=jayakumar, timestamp=1306820

Re: starting with PHPcassa

2011-05-31 Thread Amrita Jayakumar
so i just should create a directory *phpcassa *in the location*/etc/php5/conf.d/ * and in *phpcassa* just create a file* php.ini* and include the line * extension=thrift_protocol.so* in it Thanks and Regards, Amrita On Wed, Jun 1, 2011 at 10:44 AM, Marcus Bointon wrote: > On 1 Jun 2

Re: starting with PHPcassa

2011-05-31 Thread Amrita Jayakumar
which file should i add it??? Thanks and Regards, Amrita On Tue, May 31, 2011 at 7:48 PM, Maki Watanabe wrote: > http://thobbs.github.com/phpcassa/installation.html > > They also have mailing list and irc channel. > http://thobbs.github.com/phpcassa/ > > maki > > > 20

starting with PHPcassa

2011-05-31 Thread Amrita Jayakumar
I have log files of the format . I want to load these files into cassandra using PHPcassa. I have installed Cassandra 7. Can anyone please guide me with the exact procedures as in how to install PHPcassa and take things forward? Thanks and Regards, Amrita

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, Amr

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

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
... lines may be in the format so how can i load data from this log file into cassandra? Thanks and Regards, Amrita On Tue, May 31, 2011 at 10:42 AM, Maki Watanabe wrote: > You can just start > bin/cassandra -f > . > > Readme.txt says: > > Now that we're ready, let'

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
/cassandra sudo chown -R `whoami` /var/lib/cassandra Now is there any configuration settings to be made in apache-cassandra-0.7.6-2/conf/ before i fire bin/cassandra -f ??? If so then which all are the that i should change??? Thanks and Regards, Amrita On Tue, May 31, 2011 at 10:00 AM

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 wil

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: > > >

problem in starting the cassandra single node setup

2011-05-30 Thread Amrita Jayakumar
INFO 14:13:47,087 Binding thrift service to localhost/127.0.0.1:9160 INFO 14:13:47,090 Using TFastFramedTransport with a max frame size of 15728640 bytes. INFO 14:13:47,092 Listening for thrift clients... please help me with this. Thanks and Regards, Amrita