It seems like you are creating a new node with the Java API and then after
you close that node (terminate the process) your cluster can't locate the
shards. Could you please try initializing ElasticSearch client by using:
Node node = nodeBuilder().client(true).node();
Or you can also use the TransportClient.
Sematext :: http://sematext.com/
W dniu niedziela, 15 kwietnia 2012 00:17:20 UTC+2 użytkownik Orcun Simsek
I have 6 indices, running 3 clusters. each index has 1 shard. there are
of 10k documents, and total of 20mb.
I index those documents using JAVA API in a process, and during indexing
querying everything works fine. But if I terminate that process after all
the indexing and searching is done, some nodes go unassigned and cluster
health goes red.
If I let the process keep up and running, nodes are all assigned and
health is green.
What could be the reason for that?
View this message in context:
Sent from the ElasticSearch Users mailing list archive at Nabble.com.