No node available


(Meeraiah Yampalla) #1

I am new to elasticsearch, can someone please help me on this exception.

Exception in thread "main"
org.elasticsearch.client.transport.NoNodeAvailableException: No node
available
at
org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:202)
at
org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)
at
org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:145)
at
org.elasticsearch.client.transport.TransportClient.bulk(TransportClient.java:338)
at
org.elasticsearch.action.bulk.BulkRequestBuilder.doExecute(BulkRequestBuilder.java:129)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:62)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:57)
at
com.excentus.consumerportal.sites.search.LoadSitesElasticSearchFile.loadSitesToES(LoadSitesElasticSearchFile.java:53)
at
com.excentus.consumerportal.sites.search.LoadSitesElasticSearchFile.main(LoadSitesElasticSearchFile.java:29)

--
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/ec8d7f6c-8068-4d60-b6ca-c4bf4406c235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Meeraiah Yampalla) #2

can any one through any idea on this please...

On Monday, July 14, 2014 10:02:38 AM UTC-5, Meeraiah Yampalla wrote:

I am new to elasticsearch, can someone please help me on this exception.

Exception in thread "main"
org.elasticsearch.client.transport.NoNodeAvailableException: No node
available
at
org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:202)
at
org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)
at
org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:145)
at
org.elasticsearch.client.transport.TransportClient.bulk(TransportClient.java:338)
at
org.elasticsearch.action.bulk.BulkRequestBuilder.doExecute(BulkRequestBuilder.java:129)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:62)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:57)
at
com.excentus.consumerportal.sites.search.LoadSitesElasticSearchFile.loadSitesToES(LoadSitesElasticSearchFile.java:53)
at
com.excentus.consumerportal.sites.search.LoadSitesElasticSearchFile.main(LoadSitesElasticSearchFile.java:29)

--
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/ab1531f7-43b2-4613-9409-85ed62893437%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Smith-2) #3

If I remember correctly this indicates a connection issue when you are using node client. Are there typos in elasticsearch client connection config? Is ES running at that host/port? Are firewalls blocking traffic on port 9300 on either client and server?

On Jul 14, 2014, at 11:34 AM, Meeraiah Yampalla meeraiah.yadav@gmail.com wrote:

can any one through any idea on this please...

On Monday, July 14, 2014 10:02:38 AM UTC-5, Meeraiah Yampalla wrote:
I am new to elasticsearch, can someone please help me on this exception.

Exception in thread "main" org.elasticsearch.client.transport.NoNodeAvailableException: No node available
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:202)
at org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)
at org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:145)
at org.elasticsearch.client.transport.TransportClient.bulk(TransportClient.java:338)
at org.elasticsearch.action.bulk.BulkRequestBuilder.doExecute(BulkRequestBuilder.java:129)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:62)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:57)
at com.excentus.consumerportal.sites.search.LoadSitesElasticSearchFile.loadSitesToES(LoadSitesElasticSearchFile.java:53)
at com.excentus.consumerportal.sites.search.LoadSitesElasticSearchFile.main(LoadSitesElasticSearchFile.java:29)

--
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/ab1531f7-43b2-4613-9409-85ed62893437%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/203BD7FE-53CE-4106-813F-91F97C5DCD7E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4