You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "JVN (JIRA)" <ji...@apache.org> on 2015/07/17 20:02:05 UTC

[jira] [Commented] (CASSANDRA-6925) /etc/init.d/cassandra clobbers pid file

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

JVN commented on CASSANDRA-6925:
--------------------------------

Has this perhaps been resolved in the meantime?

> /etc/init.d/cassandra clobbers pid file
> ---------------------------------------
>
>                 Key: CASSANDRA-6925
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6925
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>         Environment: Cassandra:
> Datastax cassandra20-2.0.5-1.noarch.rpm
> OS:
> CentOS 6.4
> Linux fqdn 2.6.32-431.1.2.0.1.el6.x86_64 #1 SMP Fri Dec 13 13:06:13 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> JDK:
> java version "1.7.0_51"
> Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
>            Reporter: Craig Brown
>            Assignee: Sven Delmas
>            Priority: Minor
>
> Preconditions:
> Cassandra service is running successfully.
> Cassandra service is erroneously started when already running via:
> service cassandra start
> /var/run/cassandra/cassandra.pid is overwritten with new pid.  The original cassandra process continues to run.  The recorded pid is not running. 
> Because the recorded pid is incorrect, its impossible to stop cassandra via:
> service cassandra stop
> Before starting cassandra, the script should ensure that its not already running.



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