>rpc_address: 0.0.0.0  , broadcast_address: 1.2.3.4

Did you try set rpc_address to node IP and not to 0.0.0.0 ?



Best regards, Vladimir Yudovin, 

Winguzone - Cloud Cassandra Hosting






---- On Thu, 24 Nov 2016 04:50:08 -0500Jeff Jirsa 
<jeff.ji...@crowdstrike.com> wrote ----




Did you already try doing what the error message indicates you should try?

 

Is there anything in the logs on the 3 cassandra boxes listed (192.168.198.168, 
192.168.198.169, 192.168.198.75) that indicates they had problems at that time, 
perhaps GCInspector or StatusLogger messages about pauses, or any drops in 
network utilization to indicate a networking problem?

 



 

From: "techpyaasa ." <techpya...@gmail.com>
Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Date: Thursday, November 24, 2016 at 1:43 AM
To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Subject: OperationTimedOutException (NoHostAvailableException)

 


Hi all,

Following exception thrown sometimes though all nodes are up.

 SEVERE : This error occurs if there are not enough Cassandra nodes for the 
required QUORUM to persist data. Please make sure enough nodes are up at this 
point of time. Error Count is at 150 Exception 
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried 
for query failed (tried: /192.168.198.168:9042 
(com.datastax.driver.core.exceptions.DriverException: Timeout while trying to 
acquire available connection (you may want to increase the driver number of 
per-host connections)), /192.168.198.169:9042 
(com.datastax.driver.core.exceptions.DriverException: Timeout while trying to 
acquire available connection (you may want to increase the driver number of 
per-host connections)), /192.168.198.75:9042 
(com.datastax.driver.core.OperationTimedOutException: [/192.168.198.75:9042] 
Operation timed out)) at 
com.datastax.driver.core.exceptions.NoHostAvailableException.copy(NoHostAvailableException.java:84)
 at 
com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
 at 
com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:214)
 at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:52) 
at 


We are using c*-2.0.17 , datastax java driver - cassandra-driver-core-2.1.8.jar.

In cassandra.yaml following were set 
rpc_address: 0.0.0.0 , broadcast_address: 1.2.3.4

This exception thrown for both READ & WRITE queries. Can someone please 
help me out in debugging things?


Thanks 
Techpyaasa










Reply via email to