You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/03/27 21:57:50 UTC
[jira] Commented: (CASSANDRA-20) Daemonization of cassandra nodes
[ https://issues.apache.org/jira/browse/CASSANDRA-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690098#action_12690098 ]
Jonathan Ellis commented on CASSANDRA-20:
-----------------------------------------
I am not an expert on these things but I rather prefer the approach described here: http://barelyenough.org/blog/2005/03/java-daemon/
to jsvc which requires a c module. (My bad, I didn't realize that at first.)
simplifying things, I don't think we need to worry about the shutdown stuff b/c cassandra is practically a poster boy for what should be crash-only software (http://www.usenix.org/events/hotos03/tech/full_papers/candea/candea_html/index.html) -- it needs to be able to survive crashes, power loss, etc., so adding a "clean" shutdown hook seems to be begging for the recovery code to not get exercised enough. so just killing it as in the existing bin/shutdown seems ok.
(in the old google tree the clean-shutdown code was broken anyway. dunno about this new tree.)
> Daemonization of cassandra nodes
> --------------------------------
>
> Key: CASSANDRA-20
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20
> Project: Cassandra
> Issue Type: New Feature
> Reporter: Eric Evans
> Priority: Minor
> Attachments: commons-daemon.patch
>
>
> Support for daemonization (dropping privileges, closing descriptors, forking, etc) would be nice.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.