Hi All,

I am facing a very strange issue with JAVA API for indexing bulk documents 
on elasticsearch cluster which says:

*org.elasticsearch.client.transport.NoNodeAvailableException: None of the 
configured nodes were available: 
[[Zip-Zap][DurP4l7kSzSerR3rM08PFQ][ip-xx-xx-xx-xx][inet[/xx.xx.xx.xx:9300]]{aws_availability_zone=us-east-1d}]*

* at 
org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:234)*

* at 
org.elasticsearch.action.TransportActionNodeProxy$1.handleException(TransportActionNodeProxy.java:78)*

* at 
org.elasticsearch.transport.TransportService$Adapter$3.run(TransportService.java:323)*

* at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)*

* at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)*

* at java.lang.Thread.run(Thread.java:745)*

*Caused by: org.elasticsearch.transport.NodeDisconnectedException: 
[Zip-Zap][inet[/xx.xx.xx.xx:9300]][indices:data/write/bulk] disconnected*

Scenario is: I am using elasticsearch 1.4.2 on 3 EC2 nodes (within same 
cluster) all the nodes are up and running but, when I am trying to index 
the documents it gives above exception and the weird part is I am having 2 
different types in it and I am using parent child mapping i.e.
index: INDEX with 2 types: parentType and childType
When I am indexing child type it works fine for me but when I an trying to 
index parent it gives NoNode available error while all the nodes are up and 
running.
Please help I am clueless about this issue.
My Client code is as follows:

Settings settings = ImmutableSettings.*settingsBuilder*().put("cluster.name", 
"CLUSTER_NAME").build();

Client *transportClient* = *new* TransportClient(settings); 

transportClient = ((TransportClient) transportClient).addTransportAddress(
*new* InetSocketTransportAddress("xx.xx.xx.xxx", 9300))





-- 
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/ecc9c92c-5242-47dd-805e-19a616ed494d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to