Elasticsearch shutdown in 0.9.0?


(Franz Allan Valencia See) #1

Before, I use ./bin/service/elasticsearch start|stop. Now, there's now
./bin/service/elasticsearch command, and ./bin/elasticsearch stop does not
seem to stop current running elasticsearch process. So how do you properly
shutdown an elasticsearch node right now?

Thanks,

--
Franz Allan Valencia See | Java Software Engineer
franz.see@gmail.com
LinkedIn: http://www.linkedin.com/in/franzsee
Twitter: http://www.twitter.com/franz_see


(Shay Banon) #2

The service wrapper has been removed in 0.9, and is provided in its own repo
located at: http://github.com/elasticsearch/elasticsearch-servicewrapper.

On Tue, Jul 27, 2010 at 5:14 PM, Franz Allan Valencia See <
franz.see@gmail.com> wrote:

Before, I use ./bin/service/elasticsearch start|stop. Now, there's now
./bin/service/elasticsearch command, and ./bin/elasticsearch stop does not
seem to stop current running elasticsearch process. So how do you properly
shutdown an elasticsearch node right now?

Thanks,

--
Franz Allan Valencia See | Java Software Engineer
franz.see@gmail.com
LinkedIn: http://www.linkedin.com/in/franzsee
Twitter: http://www.twitter.com/franz_see


(Lukáš Vlček) #3

Hi,

If you are using ./bin/elasticsearch script then you can use -f option
(./bin/elasticsearch -f) to run the server in the foreground (and then
shutting down the server by Ctrl+C), if you start the script without -f
option then it is started in the background which you can then stop using
kill command. Killing the running process (not kill -9) should properly
shutdown the node.

Regards,
Lukas

On Tue, Jul 27, 2010 at 4:14 PM, Franz Allan Valencia See <
franz.see@gmail.com> wrote:

Before, I use ./bin/service/elasticsearch start|stop. Now, there's now
./bin/service/elasticsearch command, and ./bin/elasticsearch stop does not
seem to stop current running elasticsearch process. So how do you properly
shutdown an elasticsearch node right now?

Thanks,

--
Franz Allan Valencia See | Java Software Engineer
franz.see@gmail.com
LinkedIn: http://www.linkedin.com/in/franzsee
Twitter: http://www.twitter.com/franz_see


(Franz Allan Valencia See) #4

Thanks Shay & Lukas.

Cheers,

--
Franz Allan Valencia See | Java Software Engineer
franz.see@gmail.com
LinkedIn: http://www.linkedin.com/in/franzsee
Twitter: http://www.twitter.com/franz_see

On Tue, Jul 27, 2010 at 10:54 PM, Lukáš Vlček lukas.vlcek@gmail.com wrote:

Hi,

If you are using ./bin/elasticsearch script then you can use -f option
(./bin/elasticsearch -f) to run the server in the foreground (and then
shutting down the server by Ctrl+C), if you start the script without -f
option then it is started in the background which you can then stop using
kill command. Killing the running process (not kill -9) should properly
shutdown the node.

Regards,
Lukas

On Tue, Jul 27, 2010 at 4:14 PM, Franz Allan Valencia See <
franz.see@gmail.com> wrote:

Before, I use ./bin/service/elasticsearch start|stop. Now, there's now
./bin/service/elasticsearch command, and ./bin/elasticsearch stop does not
seem to stop current running elasticsearch process. So how do you properly
shutdown an elasticsearch node right now?

Thanks,

--
Franz Allan Valencia See | Java Software Engineer
franz.see@gmail.com
LinkedIn: http://www.linkedin.com/in/franzsee
Twitter: http://www.twitter.com/franz_see


(system) #5