None of the configured nodes are available

Hello folks!

i'm trying to perform a search using Java ElasticSearch API but i'm getting
this error:

org.elasticsearch.client.transport.NoNodeAvailableException: None of the
configured nodes are available: []
at
org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:298)
~[elasticsearch-1.3.0.jar:na]
at
org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:214)
~[elasticsearch-1.3.0.jar:na]
at
org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:105)
~[elasticsearch-1.3.0.jar:na]
at
org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:330)
~[elasticsearch-1.3.0.jar:na]
at
org.elasticsearch.client.transport.TransportClient.search(TransportClient.java:421)
~[elasticsearch-1.3.0.jar:na]
at
org.elasticsearch.action.search.SearchRequestBuilder.doExecute(SearchRequestBuilder.java:1097)
~[elasticsearch-1.3.0.jar:na]
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91)
~[elasticsearch-1.3.0.jar:na]
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65)
~[elasticsearch-1.3.0.jar:na]

Anyone have an idea on what's is wrong? Here is how i create Client:

private lazy val client = new TransportClient().addTransportAddress(new
InetSocketTransportAddress("127.0.0.1", 9300))

And here is the point that exception happens:

var response = client.prepareSearch().execute().actionGet();

Thank in advance.

David

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c6822524-7dac-4753-902c-a0284961ace3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Did you change the cluster name?

Le 13 oct. 2014 à 19:40, David de Lucca davidpadilha@gmail.com a écrit :

Hello folks!

i'm trying to perform a search using Java Elasticsearch API but i'm getting this error:

org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available:
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:298) ~[elasticsearch-1.3.0.jar:na]
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:214) ~[elasticsearch-1.3.0.jar:na]
at org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:105) ~[elasticsearch-1.3.0.jar:na]
at org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:330) ~[elasticsearch-1.3.0.jar:na]
at org.elasticsearch.client.transport.TransportClient.search(TransportClient.java:421) ~[elasticsearch-1.3.0.jar:na]
at org.elasticsearch.action.search.SearchRequestBuilder.doExecute(SearchRequestBuilder.java:1097) ~[elasticsearch-1.3.0.jar:na]
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91) ~[elasticsearch-1.3.0.jar:na]
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65) ~[elasticsearch-1.3.0.jar:na]

Anyone have an idea on what's is wrong? Here is how i create Client:

private lazy val client = new TransportClient().addTransportAddress(new InetSocketTransportAddress("127.0.0.1", 9300))

And here is the point that exception happens:

var response = client.prepareSearch().execute().actionGet();

Thank in advance.

David

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c6822524-7dac-4753-902c-a0284961ace3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/135572E7-4096-4515-8AFA-3276EA674004%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Hi I am facing the same issue. yes, i changed the cluster name. What should I do to resolve this error?