Re: cassandra-cli describe / dump command

2011-09-02 Thread J T
Thats brilliant, thanks. On Thu, Sep 1, 2011 at 7:07 PM, Jonathan Ellis jbel...@gmail.com wrote: yes, cli show schema in 0.8.4+ On Thu, Sep 1, 2011 at 12:52 PM, J T jt4websi...@googlemail.com wrote: Hi, I'm probably being blind .. but I can't see any way to dump the schema definition

Re: Cassandra, CQL, Thrift Deprecation?? and Erlang

2011-09-02 Thread J T
soon. I'm not aware of anyone working on an erlang CQL client. On Fri, Sep 2, 2011 at 7:39 AM, J T jt4websi...@googlemail.com wrote: Hi, I'm a fan of erlang, and have been using successive cassandra versions via the erlang thrift interface for a couple of years now. I see

Null Pointer Exception / Secondary Indices

2010-10-06 Thread J T
Hi, I've been battling against some errors that only seem to crop up when I'm messing around with secondary indices in 0.7-beta2. Namely I seem to get errors like this start to happen, after I 'delete' a row in a CF that has a couple of secondary indices on it and then at some point later try to

Re: Null Pointer Exception / Secondary Indices

2010-10-06 Thread J T
be fixed by CASSANDRA-1571... if you're able to test that patch, it would be very helpful. Thanks, Stu -Original Message- From: J T jt4websi...@googlemail.com Sent: Tuesday, October 5, 2010 9:50pm To: cassandra-u...@incubator.apache.org Subject: Null Pointer Exception / Secondary

Re: Null Pointer Exception / Secondary Indices

2010-10-12 Thread J T
:29:26,859 SliceQueryFilter.java (line 122) collecting 0 of 1: null:false:0...@1286840713 This resulted in timeouts in my app. Jason On Wed, Oct 6, 2010 at 7:11 PM, J T jt4websi...@googlemail.com wrote: Hi, On a first pass, that patch seems to have solved the problem. I'll be testing

Re: Null Pointer Exception / Secondary Indices

2010-10-12 Thread J T
(line 122) collecting 0 of 1: null:false:0...@1286840713 DEBUG [ReadStage:6] 2010-10-12 08:30:31,225 SliceQueryFilter.java (line 122) collecting 0 of 1: null:false:0...@1286840713 On Tue, Oct 12, 2010 at 7:50 AM, J T jt4websi...@googlemail.com wrote: Hi, Looks like I was premature in my

Re: Null Pointer Exception / Secondary Indices

2010-10-13 Thread J T
are probably good. These messages are expected when logging at DEBUG. Gary. On Tue, Oct 12, 2010 at 02:35, J T jt4websi...@googlemail.com wrote: I rinsed repeated after updating to the latest trunk version and checking if the 1571 patch was included (which it appeared to be) and the start

BUG: secondaryIndexes AND multiple index expressions THAT fail to match

2010-10-15 Thread J T
Hi, If I do a secondary index look up with multiple index expressions (1) that do not result in a match then I get a looping entry in the log until I terminate the cassandra server. e.g. (I'll use a pseudo notation to indicate the examples) lookup( [ { SecondaryIndexedColumnName, ColumnValue

Re: BUG: secondaryIndexes AND multiple index expressions THAT fail to match

2010-10-15 Thread J T
case? On Fri, Oct 15, 2010 at 1:06 PM, J T jt4websi...@googlemail.com wrote: Hi, If I do a secondary index look up with multiple index expressions (1) that do not result in a match then I get a looping entry in the log until I terminate the cassandra server. e.g. (I'll use a pseudo

error: identifier ONE is unqualified!

2010-10-21 Thread J T
What is the latest version of Thrift that cassandra-trunk is is supposed to work with ? I know Thrift 0.2.0 works, I'm using that on an existing cassandra 0.7 trunk install. I recently tried setting up another casandra node and just got the latest version of Thrift, which is now at 0.6.0 but

Re: error: identifier ONE is unqualified!

2010-10-22 Thread J T
, but it's what I did last time I felt like feeling some angst. Aaron On 22 Oct, 2010,at 08:57 AM, J T jt4websi...@googlemail.com wrote: What is the latest version of Thrift that cassandra-trunk is is supposed to work with ? I know Thrift 0.2.0 works, I'm using that on an existing cassandra 0.7

Re: simple erlang example

2011-02-19 Thread J T
HI Sasha, That was me that was going to try and put something on the wiki and I completely forgot about it. I'm tied up this weekend but I will endeavor to ping you an example asap. Jason On Fri, Feb 18, 2011 at 10:39 PM, Sasha Dolgy sdo...@gmail.com wrote: hi, does anyone have an erlang

Re: simple erlang example

2011-02-19 Thread J T
Hi Joshua, I can't speak for Sasha, but in my case I use both Riak and Cassandra since cassandra has ranges and build in secondary indexes whereas Riak does not. Actually I use others too as the different ones bring different qualities to the table. JT On Sat, Feb 19, 2011 at 7:18 AM, Joshua

Re: simple erlang example

2011-02-19 Thread J T
use both database? Does this mean you have the same data in both database? Thanks for sharing. Kind regards, Joshua. On Sun, Feb 20, 2011 at 12:41 AM, J T jt4websi...@googlemail.com wrote: Hi Joshua, I can't speak for Sasha, but in my case I use both Riak and Cassandra since

Re: simple erlang example

2011-02-19 Thread J T
Hi Sasha, Below is some code from an old module I was working with a while back. It should give you an idea of the direction to go but really if you look at the files generated by thrift for cassandra it should help as well: * cassandra_thrift.erl * cassandra_thrift.hrl * cassandra_types.erl

Upgrading to Cassanda 0.7 Thrift Erlang

2010-07-27 Thread J T
Hi, I just tried upgrading a perfectly working Cassandra 0.6.3 to Cassandra 0.7 and am finding that even after re-generating the erlang thrift bindings that I am unable to perform any operation. I can get a connection but if I try to login or set the keyspace I get a report from the erlang

Re: Upgrading to Cassanda 0.7 Thrift Erlang

2010-07-28 Thread J T
framed thrift connections by default now (was unframed) On Tue, Jul 27, 2010 at 11:33 AM, J T jt4websi...@googlemail.com wrote: Hi, I just tried upgrading a perfectly working Cassandra 0.6.3 to Cassandra 0.7 and am finding that even after re-generating the erlang thrift bindings that I

Secondary Indexes and Super/SubColumns, is it possible ??

2010-10-01 Thread J T
Hi, I've managed to get secondary indexes working on Normal Columns. I've even managed to get multiple IndexExpressions to work when querying. However, its not clear to me 1) If I should be able to have a secondary index on a sub-column of a super-column 2) Assuming 1 is supported, how to

Re: Sorting by secondary index

2010-10-01 Thread J T
Hi Jonathan, I don't suppose there's any plan to support subcolumns of supercolumns in secondary indexes in the future ? Regards Jason On Fri, Oct 1, 2010 at 4:18 PM, Jonathan Ellis jbel...@gmail.com wrote: secondary index results are always sorted by indexed column value. rows with the

Null Pointer Exception / Secondary Indices

2010-10-05 Thread J T
Hi, I've been battling against some errors that only seem to crop up when I'm messing around with secondary indices in 0.7-beta2. Namely I seem to get errors like this start to happen, after I 'delete' a row in a CF that has a couple of secondary indices on it and then at some point later try to