I have 8 nodes in my ES cluster. I want to de-provision 2 of the servers. When i stop the Elasticsearch process in 2 of my nodes, the 430 shards which are assigned to these 2 nodes gets unassigned. Is there any way to get these shards assigned in the rest 6 nodes automatically. I have enough disk space on these nodes.
Please let me know if you need more info. Thanks in advance.
If there is a copy of the shard available somewhere else in the cluster, then shutting a node will result in those copies being duplicates to keep the number of replicas high enough.
However, if you have only a single replica of a shard and shut down the two nodes containing that replica it cannot be recovered.
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.