You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Craig Brown (JIRA)" <ji...@apache.org> on 2014/03/25 20:00:16 UTC
[jira] [Created] (CASSANDRA-6925) /etc/init.d/cassandra clobbers
pid file
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)