cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8428) Nodetool Drain kills C* Process
Date Fri, 12 Dec 2014 17:30:13 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244474#comment-14244474
] 

Brandon Williams commented on CASSANDRA-8428:
---------------------------------------------

I mean drain has never exited, and still should not.  It's the write error and stop policy
that's killing it, not drain.

> 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
>              Labels: nodetool
>             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)

Mime
View raw message