Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Datastax Cassandra Java driver WARN Message

I notice the below WARN log message from datastax cassandra java driver. Please help in understanding this message. How crucial is it ? What is it's impact ? How to fix it.

Cassandra Version : 2.1.8

Datastax Java Driver : 3.1.0

WARN 2017-02-23 14:54:53,926 com.datastax.driver.core.Cluster:localhost-startStop-1 - You listed nosql.campany.com/192.168.89.184:9042 in your contact points, but it wasn't found in the control host's system.peers at startup

like image 826
Vinod Jayachandran Avatar asked Feb 23 '17 10:02

Vinod Jayachandran


1 Answers

First check your system.peers table. You should not see any rows in your case.

Probably your hostname is getting resolves to multiple IP address. Please use ip address(instead of localhost) in your cassandra.yaml file.

Check this link: https://github.com/datastax/java-driver/pull/340

like image 131
cdatta Avatar answered Sep 30 '22 20:09

cdatta