The default value for rpc_timeout is 1 - 10 seconds.
You want the socket timeout to be higher than the rpc_timeout otherwise the
client will give up before the server.
Cheers
-
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 1/06/2012, at 3:2
Thanks a lot Aaron for the very fast response!
I have increased the CassandraThriftSocketTimeout from 5000 to 9000. Is
this a reasonable setting?
configurator.setCassandraThriftSocketTimeout(9000);
Cheers,
Christof
2012/5/31 aaron morton
> There are two times of timeouts. The thrift TimedOutEx
There are two times of timeouts. The thrift TimedOutException occurs when the
coordinator times out waiting for the CL level nodes to respond. The error is
transmitted back to the client and raised.
This is a client side socket timeout waiting for the coordinator to respond.
See the Cassandra