We have a Elasticsearch 8.12.2 cluster that was very recently set up. This cluster has 3 "Master Eligible" and 5 "Data" nodes.
When I run curl command to check cluster health it shows it as green with 8 data nodes.
I need to change the Master eligible to "Dedicated Master" nodes.
I tried shutting down the entire cluster and repurpose the Master eligble nodes. It gets re-purposed fine but for some reason the cluster health becomes red and the whole set up goes south.
Do you have any data on the cluster that you need to keep or you can rebuild it?
It seems that your cluster is basically empty, it shows only 2 shards.
If you can rebuild it from scratch, just stop everything, delete the data folder, and then configure the master eligible nodes to have only the master role, then start your nodes.
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.