Thanks a lot for suggestion Romain, I have done the setup to see the driver
logs, but haven't seen that error again.
Also thanks for the MaxRequestPerConnection tip, I will change it to 32K.
Regards,
Abhinav
On Wed, Jul 13, 2016 at 1:02 PM Romain Hardouin wrote:
> Put the driver logs in debug m
Put the driver logs in debug mode to see what's happen.Btw I am surprised by
the few requests by connections in your setup:
.setConnectionsPerHost(HostDistance.LOCAL, 20, 20)
.setMaxRequestsPerConnection(HostDistance.LOCAL, 128) It looks like a
protocol v2 settings (Cassandra 2.0
I am using 3.0.0 version over apache-cassandra-3.3
On Tue, Jul 12, 2016 at 2:37 PM Riccardo Ferrari wrote:
> What driver version are you using?
>
> You can look at the LoggingRetryPolicy to have more meaningful messages in
> your logs.
>
> best,
>
> On Tue, Jul 12, 2016 at 9:02 PM, Abhinav Solan
What driver version are you using?
You can look at the LoggingRetryPolicy to have more meaningful messages in
your logs.
best,
On Tue, Jul 12, 2016 at 9:02 PM, Abhinav Solan
wrote:
> Thanks, Johnny
> Actually, they were running .. it went through a series of read and writes
> .. and recovered
Thanks, Johnny
Actually, they were running .. it went through a series of read and writes
.. and recovered after the error.
Is there any settings I can specify in preparing the Session at java client
driver level, here are my current settings -
PoolingOptions poolingOptions = new PoolingOptions()
Abhinav - your getting that as the driver isn’t finding any hosts up for your
query. You probably need to check if all the nodes in your cluster are running.
See:
http://docs.datastax.com/en/drivers/java/3.0/com/datastax/driver/core/exceptions/NoHostAvailableException.html
Johnny
> On 12 Jul 2
Hi Everyone,
I am getting this error on our server, it comes and goes seems the
connection drops a comes back after a while -
Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException:
All host(s) tried for query failed (tried: :9042
(com.datastax.driver.core.excepti