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-8594) pidfile is never filled by cassandra
Date Tue, 13 Jan 2015 17:39:35 GMT

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

Brandon Williams commented on CASSANDRA-8594:
---------------------------------------------

I think Cyril is talking about the debian init script, however:

bq. we use start-stop-daemon without asking it to create the pidfile

[This line|https://github.com/cscetbon/cassandra/blob/cassandra-2.0.10/debian/init#L96] does
ask it to create the pidfile, and it wouldn't be able to stop the service without it.  I can
confirm that -p does write the pid to the file.

> pidfile is never filled by cassandra
> ------------------------------------
>
>                 Key: CASSANDRA-8594
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8594
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Cyril Scetbon
>            Assignee: Cyril Scetbon
>             Fix For: 2.0.13
>
>
> The pid file is never filled by cassandra. there is only a File object that is created
with [those lines|https://github.com/cscetbon/cassandra/blob/cassandra-2.0.10/src/java/org/apache/cassandra/service/CassandraDaemon.java#L498-L501]
> Here is a [fix|https://github.com/cscetbon/cassandra/commit/d0c5e0c9be00e48e6d0cd0de208c53274f1919c0.patch]
that writes the current PID into the pidfile



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

Mime
View raw message