Re: create secondary index on column family

2013-03-24 Thread Xu Renjie
the stored bytes are the same, right? > > Yes. > > - > Aaron Morton > Freelance Cassandra Consultant > New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 24/03/2013, at 11:53 PM, Xu Renjie wrote: > > > > > On Sun,

Re: create secondary index on column family

2013-03-24 Thread Xu Renjie
Freelance Cassandra Consultant > New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 23/03/2013, at 12:10 AM, Xu Renjie wrote: > > Sorry, continued: >I have created a column family User with no parameters specified, just > create column family Us

Re: create secondary index on column family

2013-03-24 Thread Xu Renjie
- > Aaron Morton > Freelance Cassandra Consultant > New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 23/03/2013, at 12:10 AM, Xu Renjie wrote: > > Sorry, continued: >I have created a column family User with no parameters specified, just >

Re: create secondary index on column family

2013-03-22 Thread Xu Renjie
e BytesType and UTF8Type and other types underlying. If I store string 'name' into database, do they have the same internal bytes stored in Cassandra, just that the UTF8Type needs to be validated before storing the data into database and BytesType need not to? On Fri, Mar 22, 2013 at

create secondary index on column family

2013-03-22 Thread Xu Renjie
Hello, guys: I am new to Cassandra. I am currently using cassandra-cli(version 1.1.6).

Re: Astyanax empty column check

2012-10-19 Thread Xu Renjie
ckle.com > > On 18/10/2012, at 1:34 AM, "Hiller, Dean" wrote: > > What specifically are you trying to achieve? The business requirement > might help as there are other ways of solving it such that you do not need > to know the difference. > > Dean > > From: Xu

Re: Astyanax empty column check

2012-10-17 Thread Xu Renjie
means that row does not exist." > Essentially a row without co http://stackoverflow.com/questions/8072253/is-there-a-difference-between-an-empty-key-and-a-key-that-doesnt-exist lumns doesn't exist.. (except those with tombstones) > from here > On Wed, Oct 17, 2012 at 2:17 PM,

Re: Astyanax empty column check

2012-10-17 Thread Xu Renjie
Sorry for the version, I am using 1.0.1 Astyanax. On Wed, Oct 17, 2012 at 4:44 PM, Xu Renjie wrote: > hello guys, >I am currently using Astyanax as a client(new to Astyanax). But I am > not clear how to differentiate the following 2 situations: > a. A row which has only key wit

Astyanax empty column check

2012-10-17 Thread Xu Renjie
hello guys, I am currently using Astyanax as a client(new to Astyanax). But I am not clear how to differentiate the following 2 situations: a. A row which has only key without columns b. No this row in database. Since when I use RowQuery to query Cassandra with given key, both the above two sit

Re: OutOfMemory log in Cassandra

2012-08-21 Thread Xu Renjie
ations/sec and how much memory assigned for the heap? > > Guille > > > On Wed, Aug 22, 2012 at 12:09 AM, Xu Renjie wrote: > >> Hi, all >>I have a problem about the log. I have set the CASSANDRA_HEAPDUMP_DIR >> in the cassandra-env.in file to some path to sto

Re: OutOfMemory log in Cassandra

2012-08-21 Thread Xu Renjie
BTW, I have checked the jvm by jps that the options are correctly added. On Wed, Aug 22, 2012 at 11:09 AM, Xu Renjie wrote: > Hi, all >I have a problem about the log. I have set the CASSANDRA_HEAPDUMP_DIR > in the cassandra-env.in file to some path to store the dump file > when

OutOfMemory log in Cassandra

2012-08-21 Thread Xu Renjie
Hi, all I have a problem about the log. I have set the CASSANDRA_HEAPDUMP_DIR in the cassandra-env.in file to some path to store the dump file when OutOfMemory exception happens. But after out of memory happens(I judge it from the /var/log/messages which says "kernel: out of memory: kill process