How to stop/shut down an elasticsearch node?

前端 未结 11 1827
忘掉有多难
忘掉有多难 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:43

    use the following command to know the pid of the node already running.

    curl -XGET 'http://localhost:9200/_nodes/process'

    It took me an hour to find out the way to kill the node and could finally do it after using this command in the terminal window.

提交回复
热议问题