Sorry it was typo.. It is *broadcast_address and not **broadcast_*rpc*_address.* And also there is no such configuration in cass.yaml with *broadcast_rpc_address *in c*-2.0.17. Very sorry once again.
This is configrn I have in cass.yaml *listen_address: [external IP]* *# Address to broadcast to other Cassandra nodes* *# Leaving this blank will set it to the same value as listen_address* *# broadcast_address: 1.2.3.4 #It is commented, I have not made any changes for itrpc_address: 0.0.0.0* *rpc_port: 9160* Thanks TechPyaasa On Mon, Nov 21, 2016 at 6:48 PM, Vladimir Yudovin <vla...@winguzone.com> wrote: > Not *broadcast_address*, but *broadcast_rpc_address* (you gave this > example:rpc_address: 0.0.0.0 , broadcast_rpc_address: 1.2.3.4) > > > Best regards, Vladimir Yudovin, > > *Winguzone <https://winguzone.com?from=list> - Hosted Cloud > CassandraLaunch your cluster in minutes.* > > > ---- On Mon, 21 Nov 2016 08:14:38 -0500*techpyaasa . > <techpya...@gmail.com <techpya...@gmail.com>>* wrote ---- > > Hi Vladimir, > > I have not modified anything for broadcasr_address, I left as it was.. > > *# Leaving this blank will set it to the same value as listen_address* > *# broadcast_address: 1.2.3.4* > > So the comment above says "*Leaving this blank will set it to the same > value as listen_address" *, so it shud set as listen_address and I have > set listen_address as its external IPs for all nodes.. > So I guess that should not be a problem... :( > > What else could be the issue...?? :( :( > > On Mon, Nov 21, 2016 at 4:21 PM, Vladimir Yudovin <vla...@winguzone.com> > wrote: > > > Try to set *broadcast_rpc_address* on each node to its real external IP > address. > > Best regards, Vladimir Yudovin, > > *Winguzone <https://winguzone.com?from=list> - Hosted Cloud > CassandraLaunch your cluster in minutes.* > > > ---- On Mon, 21 Nov 2016 05:47:00 -0500*techpyaasa . > <techpya...@gmail.com <techpya...@gmail.com>>* wrote ---- > > Following exception intermittently thrown by datastax java driver though > all nodes are up.(Happening for both read & write queries) > > *"Exception com.datastax.driver.core.exceptions.NoHostAvailableException: > All host(s) tried for query failed (no host was tried) 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"* > > 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_rpc_address: 1.2.3.4 > > Have anyone faced such issue ? What could be the reason and fix for it? > > Thanks in advance > > > Techpyaasa. > > > >