How to stop/shut down an elasticsearch node?

前端 未结 11 1846
忘掉有多难
忘掉有多难 2021-01-29 22:34

I want to restart an elasticsearch node with a new configuration. What is the best way to gracefully shut down an node?

Is killing the process the best way of shutting t

11条回答
  •  北荒
    北荒 (楼主)
    2021-01-29 22:49

    Answer for Elasticsearch inside Docker:

    Just stop the docker container. It seems to stop gracefully because it logs:

    [INFO ][o.e.n.Node               ] [elastic] stopping ...
    

提交回复
热议问题