Whoops click "send" to fast In SImpleSeedProvider :
String[] hosts = "10.1.20.10,10.1.21.10,10.1.22.10,".split(",", -1); List<InetAddress> seeds = new ArrayList<InetAddress>(hosts.length); for (String host : hosts) { System.out.println(InetAddress.getByName(host.trim())); } output : /10.1.20.10 /10.1.21.10 /10.1.22.10 localhost/127.0.0.1 This might be consider a "bug" or a nice thing to fix by just ignoring empty host don't you think ? Have a nice day On 2 March 2018 at 11:14, Nicolas Guyomar <nicolas.guyo...@gmail.com> wrote: > Hi Marco, > > Could that be because your seed list has an extra comma in the end of the > line, thus being interpreted by default as localhost by Cassandra ? And > because you are listening on the node IP localhost is not reachable (need > to check to code to be sure) > Here => seeds: '10.1.20.10,10.1.21.10,10.1.22.10,' > > Wild morning guess ;) > > On 2 March 2018 at 11:06, Marco Giovannini <usern...@gmail.com> wrote: > >> Hi, >> >> I'm running >> Cassandra >> a cluster of 3 nodes on AWS across 3 AZ (every instance has only one >> interface). >> >> Cassandra version is 3.11.1. >> >> My debug log get flooded with >> messages like this one but the cluster work fine. >> >> D >> EBUG [MessagingService-Outgoing-localhost/127.0.0.1-Gossip] 2018-02-28 >> 15:53:57,314 OutboundTcpConnection.java:545 - Unable to connect to >> localhost/127.0.0.1 >> >> Have you ever seen it this issue on your cluster? >> >> I attach my conf. >> >> I tried to play with the broadcast setting too as I found in the previous >> discussion but without success. >> >> #broadcast_address: "10.1.20.10" >> >> https://lists.apache.org/thread.html/%3C561A65ED-7828-40AB- >> 834d-de2dc8e57...@cisco.com%3E >> >> >> Regards, >> Marco >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org >> For additional commands, e-mail: user-h...@cassandra.apache.org >> > >