incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senthil, Athinanthny X. -ND" <>
Subject Hector Could not flush transport error
Date Sat, 08 Feb 2014 00:05:34 GMT
We get the below error in app logs when it's trying to hit DC which doesn't get traffic in
multi DC cluster. But other DC where all traffic hits seems to be responding without any issues.
App read/write requests are timing out. Hector client version is 1.0.5. On cassandra side
, we are getting socket timeouts. Configs are all same in both DC and on app side as well?

We expanded this cluster by adding 3 nodes to 2 DC . It has 6 nodes in each DC.  App did not
recognize new nodes until it was explicitly defined in property file. Since then we are seeing
the issue/error below. This DC acts like failover DC and this is only place where get socket
timeout errors in cassandra layer in all nodes.

Do we need to change any config ? Will increasing this value thrift_framed_transport_size_in_mb:
15 help?

Tried enabling assandra.useSocketKeepalive=true, timeout still occurs. cassandraThriftSocketTimeout=0
in app property

2014-02-06 10:38:57,936 -0800 []
ERROR me.prettyprint.cassandra.connection.client.HThriftClient - Could not flush transport
(to be expected if the pool is shutting
down) in close for client: CassandraClient<:9160-10220>
org.apache.thrift.transport.TTransportException: Broken pipe
at org.apache.thrift.transport.TIOStreamTransport.write(
at org.apache.thrift.transport.TFramedTransport.flush(
at me.prettyprint.cassandra.connection.client.HThriftClient.close(
at me.prettyprint.cassandra.connection.client.HThriftClient.close(
at me.prettyprint.cassandra.connection.HConnectionManager.closeClient(
at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(
at me.prettyprint.cassandra.service.AbstractCluster.describeKeyspaces(
at me.prettyprint.cassandra.connection.NodeAutoDiscoverService.discoverNodes(
at me.prettyprint.cassandra.connection.NodeAutoDiscoverService.doAddNodes(
at me.prettyprint.cassandra.connection.NodeAutoDiscoverService$
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(
at java.util.concurrent.FutureTask.runAndReset(
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
at java.util.concurrent.ScheduledThreadPoolExecutor$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: Broken pipe
at Method)
at org.apache.thrift.transport.TIOStreamTransport.write(

View raw message