May 16, 2017 9:14:38 AM com.psddev.dari.elasticsearch.ElasticsearchDatabase doWrites
WARNING: Elasticsearch doWrites Exception [org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{QZ3w96QKR9KzbWaQrfnEEQ}{localhost}{127.0.0.1:9300}]]
NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{QZ3w96QKR9KzbWaQrfnEEQ}{localhost}{127.0.0.1:9300}]]
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:348)
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:246)
at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59)
at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:366)
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:408)
at org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:485)
at org.elasticsearch.action.bulk.Retry$AbstractRetryHandler.execute(Retry.java:211)
at org.elasticsearch.action.bulk.Retry$SyncRetryHandler.executeBlocking(Retry.java:235)
at org.elasticsearch.action.bulk.Retry.withSyncBackoff(Retry.java:87)
I am experiencing the same problem in 5.4.0 and I am running the Java code on the same server as the ElasticSearch installation.
Exception in thread "main" NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{JvkgvqM3SXqBv5mwBDUUhQ}{<myserver>}{<myserver>:9300}]]
at org.elasticsearch.client.transport.TransportClientNodesService.ensure NodesAreAvailable(TransportClientNodesService.java:348)
at org.elasticsearch.client.transport.TransportClientNodesService.execut e(TransportClientNodesService.java:246)
at org.elasticsearch.client.transport.TransportProxyClient.execute(Trans portProxyClient.java:59)
at org.elasticsearch.client.transport.TransportClient.doExecute(Transpor tClient.java:366)
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClien t.java:408)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBu ilder.java:80)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBu ilder.java:54)
at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilde r.java:62)
at com.cswg.enterprisesearch.bulkloader.BulkLoader.load(BulkLoader.java: 85)
at com.cswg.enterprisesearch.bulkloader.BulkLoader.main(BulkLoader.java: 289)
Hi Guys,
I am getting this error with 5.4.1 when using a java client to connect from a remote machine.
I have tested connecting from the remote machine to port 9300 and can connect with no issues.
However the java client fails.
I had this working with 2.3 and am migrating to 5.4.1
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.