cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alaa Zubaidi <alaa.zuba...@pdf.com>
Subject Re: Error String index out of range and old client?
Date Wed, 17 Aug 2011 19:53:43 GMT
I forgot to mention that we are on 0.7.4 now...

On 8/17/2011 12:31 PM, Alaa Zubaidi wrote:
> Hi,
>
> I se this error while the application tries to connect to cassandra at
> the same time from 2 different threads: any clues:
>
> ERROR [pool-1-thread-13] 2011-07-29 06:46:45,718
> CustomTThreadPoolServer.java (line 222) Error occurred during processing
> of message.
> java.lang.StringIndexOutOfBoundsException: String index out of range:
> -2147418111
>     at java.lang.String.checkBounds(String.java:397)
>     at java.lang.String.<init>(String.java:442)
>     at
> org.apache.thrift.protocol.TBinaryProtocol.readString(TBinaryProtocol.java:339) 
>
>     at
> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:210)

>
>     at
> org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2543) 
>
>     at
> org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:206)

>
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
>
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
>
>     at java.lang.Thread.run(Thread.java:662)
> ERROR [pool-1-thread-11] 2011-07-29 06:53:21,921
> CustomTThreadPoolServer.java (line 218) 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)

>
>     at
> org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2543) 
>
>     at
> org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:206)

>
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
>
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
>
>     at java.lang.Thread.run(Thread.java:662)
>
> Thanks,
> Alaa
>
>
>
>
>
>
>

-- 
Alaa Zubaidi
PDF Solutions, Inc.
333 West San Carlos Street, Suite 700
San Jose, CA 95110  USA
Tel: 408-283-5639 (or 408-280-7900 x5639)
fax: 408-938-6479
email: alaa.zubaidi@pdf.com



Mime
View raw message