I am getting frequent error for "None of the configured nodes were available" with transport client. My ES cluster is v6.4 and Transport client is generate as code below.
This error of not node available is observed with new elastic cloud only. I reported to cloud team. And cloud team still investigating (even after 10days).
Any help ?
val addresses = nodes.map { host => new TransportAddress(InetAddress.getByName(host), port) }
val client = new PreBuiltXPackTransportClient(settings)
.addTransportAddresses(addresses: _*)
info(s"ElasticClient config => Nodes = ${nodes.toList} , port = $port clusterName $clusterName")
I don't know what will be the answer from the cloud support but anyway use the REST Client instead. The transport client is going to be removed at some point.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.