You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Andres March <am...@qualcomm.com> on 2010/08/17 18:46:03 UTC

TTransportException intermittently in 0.7

  We are testing bulk data loads using thrift.  About 5% of operations 
are failing on the following exception.  It appears that it is not 
getting any response (end of file) on the batch mutate response.  I'll 
try to create a test case to demonstrate the behavior.

Caused by: org.apache.thrift.transport.TTransportException
     at 
org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
     at 
org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
     at 
org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
     at 
org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:369)
     at 
org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:295)
     at 
org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:202)
     at 
org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:905)
     at 
org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:889)

This is using a 0.7 SNAPSHOT built last friday with a framed transport.
-- 
*Andres March*
amarch@qualcomm.com <ma...@qualcomm.com>
Qualcomm Internet Services

RE: TTransportException intermittently in 0.7

Posted by "B. Todd Burruss" <bb...@real.com>.
i am getting this as well.  i am calling batch_mutate.  i don't see any
server logs at INFO level.  switched to DEBUG and still no interesting
messages.

by setting break points i tracked it down to TIOStreamTransport with
type TTransportException.END_OF_FILE.  seems for some reason the bytes
read is -1



On Tue, 2010-08-17 at 13:18 -0700, March, Andres wrote:
> No errors in server logs.  Let me know if you have any debug recommendations.  I'm just starting to set it up.
> 
> - Andres
> ________________________________________
> From: Jonathan Ellis [jbellis@gmail.com]
> Sent: Tuesday, August 17, 2010 12:44 PM
> To: user@cassandra.apache.org
> Subject: Re: TTransportException intermittently in 0.7
> 
> are there any errors on your server logs?
> 
> On Tue, Aug 17, 2010 at 11:46 AM, Andres March <am...@qualcomm.com> wrote:
> > We are testing bulk data loads using thrift.  About 5% of operations are
> > failing on the following exception.  It appears that it is not getting any
> > response (end of file) on the batch mutate response.  I'll try to create a
> > test case to demonstrate the behavior.
> >
> > Caused by: org.apache.thrift.transport.TTransportException
> >     at
> > org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
> >     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
> >     at
> > org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
> >     at
> > org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
> >     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
> >     at
> > org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:369)
> >     at
> > org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:295)
> >     at
> > org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:202)
> >     at
> > org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:905)
> >     at
> > org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:889)
> >
> > This is using a 0.7 SNAPSHOT built last friday with a framed transport.
> > --
> > Andres March
> > amarch@qualcomm.com
> > Qualcomm Internet Services
> 
> 
> 
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com



RE: TTransportException intermittently in 0.7

Posted by "March, Andres" <am...@qualcomm.com>.
No errors in server logs.  Let me know if you have any debug recommendations.  I'm just starting to set it up.

- Andres
________________________________________
From: Jonathan Ellis [jbellis@gmail.com]
Sent: Tuesday, August 17, 2010 12:44 PM
To: user@cassandra.apache.org
Subject: Re: TTransportException intermittently in 0.7

are there any errors on your server logs?

On Tue, Aug 17, 2010 at 11:46 AM, Andres March <am...@qualcomm.com> wrote:
> We are testing bulk data loads using thrift.  About 5% of operations are
> failing on the following exception.  It appears that it is not getting any
> response (end of file) on the batch mutate response.  I'll try to create a
> test case to demonstrate the behavior.
>
> Caused by: org.apache.thrift.transport.TTransportException
>     at
> org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
>     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
>     at
> org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
>     at
> org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
>     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
>     at
> org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:369)
>     at
> org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:295)
>     at
> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:202)
>     at
> org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:905)
>     at
> org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:889)
>
> This is using a 0.7 SNAPSHOT built last friday with a framed transport.
> --
> Andres March
> amarch@qualcomm.com
> Qualcomm Internet Services



--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Re: TTransportException intermittently in 0.7

Posted by Jonathan Ellis <jb...@gmail.com>.
are there any errors on your server logs?

On Tue, Aug 17, 2010 at 11:46 AM, Andres March <am...@qualcomm.com> wrote:
> We are testing bulk data loads using thrift.  About 5% of operations are
> failing on the following exception.  It appears that it is not getting any
> response (end of file) on the batch mutate response.  I'll try to create a
> test case to demonstrate the behavior.
>
> Caused by: org.apache.thrift.transport.TTransportException
>     at
> org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
>     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
>     at
> org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
>     at
> org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
>     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
>     at
> org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:369)
>     at
> org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:295)
>     at
> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:202)
>     at
> org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:905)
>     at
> org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:889)
>
> This is using a 0.7 SNAPSHOT built last friday with a framed transport.
> --
> Andres March
> amarch@qualcomm.com
> Qualcomm Internet Services



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com