I have 6 indices, running 3 clusters. each index has 1 shard. there are total of 10k documents, and total of 20mb.
I index those documents using JAVA API in a process, and during indexing and 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 cluster health is green.
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:
W dniu niedziela, 15 kwietnia 2012 00:17:20 UTC+2 użytkownik Orcun Simsek
napisał:
I have 6 indices, running 3 clusters. each index has 1 shard. there are
total
of 10k documents, and total of 20mb.
I index those documents using JAVA API in a process, and during indexing
and
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
cluster
health is green.
Now, if i set the node using client = true, i get failed to find analyzer exception in an analyze, which is not being thrown if i dont set client true.
Now, if i set the node using client = true, i get failed to find analyzer
exception in an analyze, which is not being thrown if i dont set client
true.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.