I am getting this exception, I am using 1.4.1 and have the same maven
version as well.
Exception in thread "main"
org.elasticsearch.client.transport.NoNodeAvailableException: None of the
configured nodes are available: []
at
org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:278)
at
org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:197)
at
org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)
at
org.elasticsearch.client.support.AbstractClient.index(AbstractClient.java:98)
at
org.elasticsearch.client.transport.TransportClient.index(TransportClient.java:334)
at
org.elasticsearch.action.index.IndexRequestBuilder.doExecute(IndexRequestBuilder.java:313)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65)
I am trying to connect to 10.241.251.176
[ec2-user@ip-10-241-251-176 ~]$ curl 'localhost:9200/_cat/nodes'
ip-10-241-251-174 10.241.251.174 9 1 0.00 d * Jonathan "John" Garrett
ip-10-241-251-175 10.241.251.175 7 1 0.00 d m Sunpyre
ip-10-241-251-176 10.241.251.176 7 1 0.13 d m Hecate
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOT3TWpWCmOQzeQik3DYChOFvwvXr2Ue9RYKRRuu9UD7q1ptdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.