i would be thankfull if a sophisticated user could name all possible solutions (best practices) how to fix Hector Client Timeouts like this:
Caused by: me.prettyprint.hector.api.exceptions.HTimedOutException: TimedOutException()
Caused by: TimedOutException()
at org.apache.cassandra.thrift.Cassandra$multiget_slice_result.read(Cassandra.java:9628)
at org.apache.cassandra.thrift.Cassandra$Client.recv_multiget_slice(Cassandra.java:636)
at org.apache.cassandra.thrift.Cassandra$Client.multiget_slice(Cassandra.java:608)
at me.prettyprint.cassandra.service.KeyspaceServiceImpl$10.execute(KeyspaceServiceImpl.java:388)
... 21 more
HECTOR:
Taken from the Hector Documentation :https://github.com/rantav/hector/wiki/User-Guide
I found the following related to timeouts:
1.) cassandraThriftSocketTimeout
CASSANDRA:
1.) rpc_timeout_in_ms: 10000 (in cassandra.yaml)
What other Settings are available related to timeouts both on Hector and on Cassandra side? I have time! So I simply want to wait longer! But I have not found the settings therefor to wait longer.
Thanks Markus
From the cassandra.thrift API in the Apache Cassandra source tree regarding TimeoutException:
"RPC timeout was exceeded. either a node failed mid-operation, or load was too high, or the requested op was too large."
In short you were asking for too much data. What sort of query were you sending? Can you post a code snippet of such?