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] [Commented] (CASSANDRA-8594) pidfile is never filled by cassandra
Date Mon, 12 Jan 2015 17:46:35 GMT

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

Joshua McKenzie commented on CASSANDRA-8594:
--------------------------------------------

The pidfile is written by bin/cassandra and bin/cassandra.ps1 on linux and windows, respectively.
 The code inside the daemon serves to auto-delete the pidfile on server shutdown.

The logic to perform that on linux is pretty old (from 2011 on the linux side); are you seeing
circumstances where the pidfile isn't being written?  I'd expect a write permissions issue
before code-problem since this is both 1) old and 2) widely tested.

> 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