You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Renato Bacelar da Silveira <re...@indabamobile.co.za> on 2011/04/20 18:06:39 UTC

Internal error processing get_range_slices

Hi

In using cassandra/thrift I have come across the following error when 
trying a client.get_range_slices() query:


org.apache.thrift.TApplicationException: Internal error processing 
get_range_slices
     at 
org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
     at 
org.apache.cassandra.thrift.Cassandra$Client.recv_get_range_slices(Cassandra.java:724)
     at 
org.apache.cassandra.thrift.Cassandra$Client.get_range_slices(Cassandra.java:704)
     at 
com.indaba.cassandra.thrift.ThriftManager.multigetSliceAcrossAllUsers(ThriftManager.java:180)
     at 
com.indaba.cassandra.thrift.ThriftManager.testMultigetSlice(ThriftManager.java:210)
     at 
com.indaba.cassandra.thrift.ThriftManager.main(ThriftManager.java:260)

Has anyone ever come across or has a fix?

The section of code referring to the above (Cassandra.java:724) is:

     public List<KeySlice> recv_get_range_slices() throws 
InvalidRequestException,     UnavailableException, TimedOutException, 
TException
     {
       TMessage msg = iprot_.readMessageBegin();
       if (msg.type == TMessageType.EXCEPTION) {
/*        TApplicationException x = TApplicationException.read(iprot_);*/
         iprot_.readMessageEnd();
         throw x;
       }


It looks like the exception is originating when iprot.readMessageBegin() 
returns
a msg.type of TMessageType.EXCEPTION.

Was not able to look further into iprot_.readMessageBegin() to determine 
possible cause,
but would really appreciate any comments on how to resolve this.

Kind regards to all in the community,

Renato da Silveira






--