Re: Thrift error occurred during processing of message

2012-05-11 Thread ruslan usifov
x27;t notice this when we were running raw thrift library with out > extension]. > > ERROR [pool-2-thread-5314] 2011-12-05 20:26:47,729 > CustomTThreadPoolServer.java (line 201) Thrift error occurred during > processing of message. > org.apache.thrift.protocol. >

Re: Thrift error occurred during processing of message

2012-05-11 Thread Tyler Hobbs
> > > >> > Do you remember how you fixed it or what the problem was exactly ? > >> > > >> > Thanks, > >> > > >> > Alain > >> > > >> > 2011/12/19 Tamil selvan R.S > >> > > >> >> Hi,

Re: Thrift error occurred during processing of message

2012-05-11 Thread Alain RODRIGUEZ
er how you fixed it or what the problem was exactly ? >> > >> > Thanks, >> > >> > Alain >> > >> > 2011/12/19 Tamil selvan R.S >> > >> >> Hi, >> >>  We are using PHPCassa to connect to Cassan

Re: Thrift error occurred during processing of message

2012-05-11 Thread Tyler Hobbs
t; > > Alain > > > > 2011/12/19 Tamil selvan R.S > > > >> Hi, > >> We are using PHPCassa to connect to Cassandra 1.0.2. After we > installed the thrift extension we started noticing the following in the > error logs. [We didn't notice this when we

Re: Thrift error occurred during processing of message

2012-05-11 Thread Alain RODRIGUEZ
hrift library with out >> extension]. >> >> ERROR [pool-2-thread-5314] 2011-12-05 20:26:47,729 >> CustomTThreadPoolServer.java (line 201) Thrift error occurred during >> processing of message. >> org.apache.thrift.protocol. >> TProtocolException: Missing ve

Re: Thrift error occurred during processing of message

2012-05-11 Thread Alain RODRIGUEZ
andra 1.0.2. After we installed > the thrift extension we started noticing the following in the error logs. > [We didn't notice this when we were running raw thrift library with out > extension]. > > ERROR [pool-2-thread-5314] 2011-12-05 20:26:47,729 > CustomTThreadPoolServer.jav

Re: java thrift error

2011-12-20 Thread A J
Message -* > *From:* "A J" > *Sent:* Tue, December 20, 2011 15:52 > *Subject:* java thrift error > > The following syntax : > import org.apache.cassandra.thrift.*; > . > . > ColumnOrSuperColumn col = client.get("count_key".getByt

Re: java thrift error

2011-12-20 Thread Dave Brosius
A ByteBuffer is not a byte[] to convert a String to a ByteBuffer do something likepublic static ByteBuffer toByteBuffer(String value) throws UnsupportedEncodingException { return ByteBuffer.wrap(value.getBytes("UTF-8")); } see http://wiki.apache.org/cassandra/ThriftExamples --

java thrift error

2011-12-20 Thread A J
The following syntax : import org.apache.cassandra.thrift.*; . . ColumnOrSuperColumn col = client.get("count_key".getBytes("UTF-8"), cp, ConsistencyLevel.QUORUM); is giving the error: get(java.nio.ByteBuffer,org.apache.cassandra.thrift.ColumnPath,org.apache.cassandra.thrift.ConsistencyLev

Thrift error occurred during processing of message

2011-12-19 Thread Tamil selvan R.S
7,729 CustomTThreadPoolServer.java (line 201) Thrift error occurred during processing of message. org.apache.thrift.protocol. TProtocolException: Missing version in readMessageBegin, old client? at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:213)

Re: thrift error

2010-12-01 Thread Aaron Morton
Try turning up the logging on the server side to DEBUG and see what it says. Chances are you are not sending what you think you are. Or if you feel like it put a breakpoint in o.a.c.thrift.Cassandra$Client.send_insert to see how when the client is doing. I agree with Tyler, higher level clients are

Re: thrift error

2010-12-01 Thread Tyler Hobbs
Is there a particular reason why you're not using a high level client? http://wiki.apache.org/cassandra/ClientOptions Raw thrift is painful in many ways. - Tyler On Wed, Dec 1, 2010 at 5:06 PM, Michael Fortin wrote: > Hello, > > I'm trying to insert a super column but I can't get passed this

thrift error

2010-12-01 Thread Michael Fortin
Hello, I'm trying to insert a super column but I can't get passed this error. the error: InvalidRequestException(why:column name must not be empty) at org.apache.cassandra.thrift.Cassandra$insert_result.read(Cassandra.java:14408) at org.apache.cassandra.thrift.Cassandra$Client