Hello,
Is it possible to disable shard allocation awareness ?
Thanks,
Hello,
Is it possible to disable shard allocation awareness ?
Thanks,
Yes it is.
Hi,
Is it possible to do it with the cluster update settings API ?
Thanks
Sure is! Have you looked in the docs for it?
Yes, but I haven't found anything (cf https://www.elastic.co/guide/en/elasticsearch/reference/current/allocation-awareness.html)
For your information, the setting was applied in the configuration file and I really need to disable it without restarting the node because I keep having some unassigned shards.
Yes, I do know this link . I have already tried to set cluster.routing.rebalance.enable to none but it didn't seem to work. Is it the good parameter ?
cluster.routing.allocation.enable
should be set to all
.
Don't touch any of the others.
Ok but the shard allocation awareness will still be active and that's not what I want.
Oh right sorry, then set it to none
.
By setting the parameter to none, the allocation will be completely disabled. I just want to disable shard allocation awareness, not the shard allocation.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.