You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Philip Thompson (JIRA)" <ji...@apache.org> on 2014/12/05 17:13:13 UTC
[jira] [Created] (CASSANDRA-8428) Nodetool Drain kills C* Process
Philip Thompson created CASSANDRA-8428:
------------------------------------------
Summary: Nodetool Drain kills C* Process
Key: CASSANDRA-8428
URL: https://issues.apache.org/jira/browse/CASSANDRA-8428
Project: Cassandra
Issue Type: Bug
Reporter: Philip Thompson
Assignee: Brandon Williams
Fix For: 2.0.12
Attachments: system.log
Nodetool Drain is documented at http://wiki.apache.org/cassandra/NodeTool and in the nodetool help to flush a node and stop accepting writes. This is the behavior I see with 2.1.2.
In 2.0.11 and 1.2.19, instead the Cassandra Process is killed. In the 1.2.19 logs, I see:
{code}
INFO [RMI TCP Connection(2)-192.168.1.5] 2014-12-05 10:32:44,234 StorageService.java (line 964)
DRAINING: starting drain process
INFO [RMI TCP Connection(2)-192.168.1.5] 2014-12-05 10:32:44,235 ThriftServer.java (line 116) S
top listening to thrift clients
INFO [RMI TCP Connection(2)-192.168.1.5] 2014-12-05 10:32:44,239 Server.java (line 159) Stop li
stening for CQL clients
INFO [RMI TCP Connection(2)-192.168.1.5] 2014-12-05 10:32:44,239 Gossiper.java (line 1203) Announcing shutdown
INFO [RMI TCP Connection(2)-192.168.1.5] 2014-12-05 10:32:46,240 MessagingService.java (line 696) Waiting for messaging service to quiesce
INFO [ACCEPT-/127.0.0.1] 2014-12-05 10:32:46,241 MessagingService.java (line 919) MessagingService shutting down server thread.{code}
So it appears this in an intentional shut down, in which case the docs and help are wrong. I could not find a JIRA that described the change in behavior moving to 2.1.
Other users on IRC report that drain works as expected for them on 1.2.19. Attached are 2.0 logs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)