incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renato Bacelar da Silveira <renat...@indabamobile.co.za>
Subject Internal error processing get_range_slices
Date Wed, 20 Apr 2011 16:06:39 GMT
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






-- 

Mime
View raw message