[
https://issues.apache.org/jira/browse/CASSANDRA-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shyamal Prasad updated CASSANDRA-3189:
--------------------------------------
Attachment: 3189.patch
Fixes redhat init script for multiple small issues, most notably support
multiple 'start' calls and return valid status codes.
> redhat init script can report success (exit 0) for startup failures
> -------------------------------------------------------------------
>
> Key: CASSANDRA-3189
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3189
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 0.8.5
> Reporter: Eric Evans
> Assignee: paul cannon
> Priority: Minor
> Labels: patch
> Fix For: 1.0.4
>
> Attachments: 3189.patch
>
>
> The Redhat init script's start target merely returns the status code of the
> JVM. In a perfect world that would be adequate, but the JVM does not always
> return a non-zero status when it should.
> The most obvious fix is to test that the process is live before exiting. See
> the Debian init script for an example of this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira