cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Podkowinski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13492) RPM Init: don't attempt to start if it's running
Date Thu, 18 May 2017 18:18:04 GMT

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

Stefan Podkowinski commented on CASSANDRA-13492:
------------------------------------------------

Using the existing SysV scripts is simply the fasted way to provide working packages for new
releases. The existing debian package is also making use of SysV scripting and if we want
to migrate to systemd, we should do it for both debian and rpm. But we need a bit more time
for that if we're really doing that step and we need the RPMs now, as users are left with
no alternative source.

Speaking of alternative sources, there's work on the way to get Cassandra packaged for Fedora
(see comments on CASSANDRA-12996). Looking at what's being done there,  systemd support would
be included and I'm looking forward to see how packaging would look like when done in spirit
of the "Fedora way".

> RPM Init: don't attempt to start if it's running
> ------------------------------------------------
>
>                 Key: CASSANDRA-13492
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13492
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Packaging
>            Reporter: martin a langhoff
>            Assignee: Stefan Podkowinski
>         Attachments: 0002-RPM-Init-avoid-starting-cassandra-if-it-is-up.patch
>
>
> We don't check whether Cassandra is running. Attempts to start Cassandra when it's already
running overwrite the pidfile, make a confusing mess of logfiles, _fail to start, as the port
is taken_; and then the init script cannot bring the first Cassandra process down because
the init file has been clobbered.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message