cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6925) /etc/init.d/cassandra clobbers pid file
Date Thu, 19 Nov 2015 15:49:11 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-6925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksey Yeschenko updated CASSANDRA-6925:
-----------------------------------------
    Assignee:     (was: Sven Delmas)

> /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
>            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)

Mime
View raw message