Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Cassandra:
Datastax cassandra20-2.0.5-1.noarch.rpmOS:
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/LinuxJDK:
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)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)
-
Low
Description
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.