Hi Team
My application is using the Elastic Search Transport Client(6.8.23) and am trying to connect to an Elasticsearch server which is 7.17.10 version. And am getting the below exception.
Caused by: NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{NNvRVPQ1Qpan_KKOO5xRCw}{10.5.13.93:31400}]]
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:250)
yes thats the plan .. but ideally the libraries are forward compatible right .. even the official documentation says library upgrade as the last step during ES migration .
Sorry for asking it again. As per this documentation : Transport Client | Java Transport Client (deprecated) [7.17] | Elastic
Transport client is not getting removed as part of 7.17 , its getting deprecated right .. so ideally i should be able to access 7.17 using the 6.18 transport client libs right
No. I don't think this will work. If you want to access a 6.8 cluster, use a 6.8 TransportClient.
If you want to access a 7.17 cluster, use a 7.17 TransportClient. Although I recommend using the new Java client.
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.