I used to run curl -XPOST 'http://localhost:9200/_shutdown' to shut down all nodes and start one node at a time during cluster restarts in order not to re balance the shard allocation.
Since this command is disabled in Elasticsearch 2.0. How do we restart the cluster with out rebalancing the shard allocation?
Sounds good. If you are doing a full cluster restart wait until they are
back and then reenable allocation. You might want to synced flush first as
it should make the restart faster.
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.