I have a little question about the elasticsearch-node tool: Is it possible to use it in any way to detach a node from a cluster that exists in a docker container?
So far the tool throws an exception that a node cannot be detached if it is still running, which sounds reasonable. I tried shutting down the node inside the container, but it results in the container being shut down.
But all my data nodes are still alive. And i suppose that this command can help to me to add my fata node to new mater node.
"elasticsearch-node detach-cluster"
You cannot attach a data node to a new master. If you have lost all master nodes and can not bring them back up you need to recreate the cluster and restore data from a snapshot.
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.