How to stop elasticsearch running (version 0.19.9)


(Amy) #1

Hi,
I'm running Elasticsearch version 0.19.9. To start it I run
${ES_HOME}/bin/elasticsearch
How do I stop it running? Adding 'stop' or -stop as an argument doesn't
work - the argument is ignored.

--


(Rafał Kuć) #2

Hello!

You can use the shutdown API: http://www.elasticsearch.org/guide/reference/api/admin-cluster-nodes-shutdown.html

--

Regards,

Rafał Kuć

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

Hi,

I'm running Elasticsearch version 0.19.9. To start it I run

${ES_HOME}/bin/elasticsearch

How do I stop it running? Adding 'stop' or -stop as an argument doesn't work - the argument is ignored.

--


(David Pilato) #3

You have to kill its process.

But, you can use the elasticsearch service wrapper to be to start and stop ES as other services (start/stop/status)...

HTH

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 3 oct. 2012 à 17:29, Amy amyblarney@gmail.com a écrit :

Hi,
I'm running Elasticsearch version 0.19.9. To start it I run
${ES_HOME}/bin/elasticsearch
How do I stop it running? Adding 'stop' or -stop as an argument doesn't work - the argument is ignored.

--

--


(system) #4