cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Bialecki <>
Subject Nodetool drain automatically shutting down node?
Date Sat, 09 Mar 2013 03:36:13 GMT
Hey all,

We're getting ready to upgrade our cluster to 1.2.2 from 1.1.5 and we're
testing the upgrade process on our dev cluster. We turned off all client
access to the cluster and then ran "nodetool drain" on the first instance
with the intention of running "nodetool snapshot" once it finished.
However, after running the drain, didn't see any errors, but the Cassandra
process was no longer running. Is that expected? From everything I've read
it doesn't seem like it, but maybe I'm mistaken.

Here's the relevant portion of the log from that node (notice it says it's
shutting down the server thread in there):

INFO [RMI TCP Connection(38)-] 2013-03-09 03:26:48,288 (line 774) DRAINING: starting drain process
 INFO [RMI TCP Connection(38)-] 2013-03-09 03:26:48,288 (line 218) Stop listening to thrift clients
 INFO [RMI TCP Connection(38)-] 2013-03-09 03:26:48,315 (line 1133) Announcing shutdown
 INFO [RMI TCP Connection(38)-] 2013-03-09 03:26:49,318 (line 534) Waiting for messaging service to quiesce
 INFO [ACCEPT-ip-10-116-111-143.ec2.internal/] 2013-03-09
03:26:49,319 (line 690) MessagingService shutting
down server thread.
 INFO [RMI TCP Connection(38)-] 2013-03-09 03:26:49,338 (line 659) Enqueuing flush of
Memtable-Counter1@177255852(14810190/60139556 serialized/live bytes, 243550
 INFO [FlushWriter:7] 2013-03-09 03:26:49,338 (line 264)
Writing Memtable-Counter1@177255852(14810190/60139556 serialized/live
bytes, 243550 ops)
 INFO [FlushWriter:7] 2013-03-09 03:26:49,899 (line 305)
Completed flushing
(15204741 bytes) for commitlog position
ReplayPosition(segmentId=1362797442799, position=27621115)
 INFO [CompactionExecutor:11] 2013-03-09 03:26:49,900
(line 109) Compacting
 INFO [RMI TCP Connection(38)-] 2013-03-09 03:26:50,193 (line 774) DRAINED

Thanks in advanced for any help.


View raw message