rantav/hector — Issue #350: Caused by: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
Author: nbnew25
Created: 2011-11-22 02:03:22+00:00
State: open

When I upgrade to cassandra 1.0.3 (use hector 1.0-1)
It have issue

66877 [Mobion Thread {pool:cached, thread:0}] WARN me.prettyprint.cassandra.connection.HConnectionManager - Could not fullfill request on this host CassandraClient
66878 [Mobion Thread {pool:cached, thread:0}] WARN me.prettyprint.cassandra.connection.HConnectionManager - Exception:
me.prettyprint.hector.api.exceptions.HTimedOutException: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
at me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:37)
at me.prettyprint.cassandra.service.KeyspaceServiceImpl$2.execute(KeyspaceServiceImpl.java:121)
at me.prettyprint.cassandra.service.KeyspaceServiceImpl$2.execute(KeyspaceServiceImpl.java:114)
at me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:101)
at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:233)
at me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(KeyspaceServiceImpl.java:131)
at me.prettyprint.cassandra.service.KeyspaceServiceImpl.getCount(KeyspaceServiceImpl.java:125)
at me.prettyprint.cassandra.model.thrift.AbstractThriftCountQuery$1.doInKeyspace(AbstractThriftCountQuery.java:59)
at me.prettyprint.cassandra.model.thrift.AbstractThriftCountQuery$1.doInKeyspace(AbstractThriftCountQuery.java:55)
at me.prettyprint.cassandra.model.KeyspaceOperationCallback.doInKeyspaceAndMeasure(KeyspaceOperationCallback.java:20)
at me.prettyprint.cassandra.model.ExecutingKeyspace.doExecute(ExecutingKeyspace.java:85)
at me.prettyprint.cassandra.model.thrift.AbstractThriftCountQuery.countColumns(AbstractThriftCountQuery.java:54)
at me.prettyprint.cassandra.model.thrift.ThriftCountQuery.execute(ThriftCountQuery.java:24)
at mobion.sns.data.dao.NotificationDAOImpl.countAllNewNotificationInColumnFamily(NotificationDAOImpl.java:412)
at mobion.sns.data.dao.NotificationDAOImpl.countAllNewNotification(NotificationDAOImpl.java:436)
at mobion.sns.service.AccountServiceImpl.getNotificationByToken(AccountServiceImpl.java:1254)
at mobion.sns.restapi.AccountRes.notificationGET(AccountRes.java:152)
at mobion.sns.restapi.AccountRes$$FastClassByCGLIB$$3a49057.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at mobion.sns.service.aop.MobionAOP.excecute(MobionAOP.java:203)
at mobion.sns.service.aop.MobionAOP.access$100(MobionAOP.java:21)
at mobion.sns.service.aop.MobionAOP$2T.run(MobionAOP.java:194)
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)
Caused by: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:129)
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)