Re: Inserting via thrift interface to column family created with Compound Key via cql3

2013-02-01 Thread aaron morton
Whats the full error stack on the client ? Are you using a pre-build thrift client or you own ? If the later try using a pre built client first, like Hector or pycassa. If it works there look into how that code works and go from there. Cheers - Aaron Morton Freelance Cassandr

Re: Inserting via thrift interface to column family created with Compound Key via cql3

2013-01-30 Thread Michael Kjellman
act that you are inserting with cql3 as well? From: Michael Kjellman mailto:mkjell...@barracuda.com>> Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Date: Wednesday, January 30, 2013 8:03 AM To: "user@cassandra.apache.org&l

Re: Inserting via thrift interface to column family created with Compound Key via cql3

2013-01-30 Thread Michael Kjellman
Did you pack the composite correctly? This exception normally shows up when the composite bytes are malformed On Jan 30, 2013, at 7:45 AM, "Oleksandr Petrov" mailto:oleksandr.pet...@gmail.com>> wrote: Yes, execute_cql3_query, exactly. On Wed, Jan 30, 2013 at 4:37 PM, Michael Kjellman mailto:

Re: Inserting via thrift interface to column family created with Compound Key via cql3

2013-01-30 Thread Oleksandr Petrov
Yes, execute_cql3_query, exactly. On Wed, Jan 30, 2013 at 4:37 PM, Michael Kjellman wrote: > Are you using execute_cql3_query() ? > > On Jan 30, 2013, at 7:31 AM, "Oleksandr Petrov" < > oleksandr.pet...@gmail.com> wrote: > > > Hi, > > > > I'm creating a table via cql3 query like: > > > > CREATE

Re: Inserting via thrift interface to column family created with Compound Key via cql3

2013-01-30 Thread Michael Kjellman
Are you using execute_cql3_query() ? On Jan 30, 2013, at 7:31 AM, "Oleksandr Petrov" wrote: > Hi, > > I'm creating a table via cql3 query like: > > CREATE TABLE posts ( > userid text, > blog_name text, > entry_title text, > posted_at text, > PRIMARY KEY (userid, blog_name) > ) > >