cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8136) Windows Service never finishes shutting down
Date Mon, 20 Oct 2014 16:02:33 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joshua McKenzie updated CASSANDRA-8136:
---------------------------------------
    Attachment: 8136_v1.txt

Added hard System.exit call to CassandraDaemon.stop() if on Windows, relying on shutdown hook
to drain the node. Procrun needs the jvm to exit out to shut down correctly.

Applies on top of 8115 (so install/uninstall actually work).

> Windows Service never finishes shutting down
> --------------------------------------------
>
>                 Key: CASSANDRA-8136
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8136
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Minor
>             Fix For: 2.1.2
>
>         Attachments: 8136_v1.txt
>
>
> When using procrun and the -install combination on Windows and starting cassandra via
services.msc, stopping the service never completes and gets stuck in "stopping" status forever.
 Probably related to:
> {code}
>     public void stop()
>     {
>         // this doesn't entirely shut down Cassandra, just the RPC server.
>         // jsvc takes care of taking the rest down
>         logger.info("Cassandra shutting down...");
>         thriftServer.stop();
>         nativeServer.stop();
>     }
> {code}
> procrun calls the StopMethod as CassandraDaemon.stop so we may need to either a) augment
what procrun's doing or b) add a more comprehensive stop to be called on Windows shutdown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message