cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolai Grigoriev <ngrigor...@gmail.com>
Subject Re: does safe cassandra shutdown require disable binary?
Date Mon, 01 Dec 2014 14:23:14 GMT
Personally I believe that you do not have to do these steps just to perform
the restart.  I know the node will start faster if drained before shutdown
but according to my experience these steps make the restart process
slightly longer (I mean stop + start phase, total). So if it is really
about rolling restart to apply some JVM or C* settings I would simply kill
it and start.

On Mon, Dec 1, 2014 at 12:02 AM, Kevin Burton <burton@spinn3r.com> wrote:

> I’m trying to figure out a safe way to do a rolling restart.
>
> http://devblog.michalski.im/2012/11/25/safe-cassandra-shutdown-and-restart/
>
> It has the following command which make sense:
>
> root@cssa01:~# nodetool -h cssa01.michalski.im disablegossiproot@cssa01:~# nodetool -h
cssa01.michalski.im disablethriftroot@cssa01:~# nodetool -h cssa01.michalski.im drain
>
>
> … but I don’t think this takes into consideration CQL.
>
>
> So you would first disablethrift, then disablebinary
>
>
> anything else needed in modern Cassandra ?
>
> --
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> <https://plus.google.com/102718274791889610666/posts>
> <http://spinn3r.com>
>
>


-- 
Nikolai Grigoriev
(514) 772-5178

Mime
View raw message