The thrift request is not sending a composite type where it should. CQL 3 uses composites in a lot of places.
What was your table definition? Are you using a high level client or rolling your own? Cheers ----------------- Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 16/01/2013, at 5:32 AM, James Schappet <jschap...@gmail.com> wrote: > I also saw this while testing the > https://github.com/boneill42/naughty-or-nice example project. > > > > > --Jimmy > > > From: Kuldeep Mishra <kuld.cs.mis...@gmail.com> > Reply-To: <user@cassandra.apache.org> > Date: Tuesday, January 15, 2013 10:29 AM > To: <user@cassandra.apache.org> > Subject: error when creating column family using cql3 and persisting data > using thrift > > Hi, > I am facing following problem, when creating column family using cql3 and > trying to persist data using thrift 1.2.0 > in cassandra-1.2.0. > > Details: > InvalidRequestException(why:Not enough bytes to read value of component 0) > at > org.apache.cassandra.thrift.Cassandra$batch_mutate_result.read(Cassandra.java:20833) > at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) > at > org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:964) > at > org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:950) > at > com.impetus.client.cassandra.thrift.ThriftClient.onPersist(ThriftClient.java:157) > > > > Please help me. > > > -- > Thanks and Regards > Kuldeep Kumar Mishra > +919540965199