I have used this command to exclude one of my node from my cluster: PUT _cluster/settings { "transient": {"cluster": {"routing": {"allocation.exclude": {"_name": "node_2"}}}} }
it works as expected, but when i use this command to add it back to the cluster, nothing happen: PUT _cluster/settings { "transient": {"cluster": {"routing": {"allocation.include":{"_name": "node_2"}}}} }
Here is the response: { "acknowledged": true, "persistent": {}, "transient": { "cluster": { "routing": { "allocation": { "include": { "_name": "node_2" } } } } } }
I have checked the cluster health, node status, index status
it all show that node_2 still be excluded.
Please someone show me what i'm missing?
Thank you.
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.