cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Brown (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6925) /etc/init.d/cassandra clobbers pid file
Date Tue, 25 Mar 2014 19:00:16 GMT
Craig Brown created CASSANDRA-6925:
--------------------------------------

             Summary: /etc/init.d/cassandra clobbers pid file
                 Key: CASSANDRA-6925
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6925
             Project: Cassandra
          Issue Type: Bug
         Environment: Cassandra:
Datastax cassandra20-2.0.5-1.noarch.rpm

OS:
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


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.2#6252)

Mime
View raw message