How to stop/shut down an elasticsearch node?

前端 未结 11 1853
忘掉有多难
忘掉有多难 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 23:02

    If you can't find what process is running elasticsearch on windows machine you can try running in console:

    netstat -a -n -o
    

    Look for port elasticsearch is running, default is 9200. Last column is PID for process that is using that port. You can shutdown it with simple command in console

    taskkill /PID here_goes_PID /F
    

提交回复
热议问题