You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeff Jirsa (JIRA)" <ji...@apache.org> on 2017/11/30 21:27:00 UTC
[jira] [Commented] (CASSANDRA-13901) Linux Script for stopping
running cassandra and cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-13901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16273479#comment-16273479 ]
Jeff Jirsa commented on CASSANDRA-13901:
----------------------------------------
I have some concerns here.
1) Cassandra has mechanisms to stop itself (via nodetool), which does a nice clean shutdown, not {{kill -9}} which can potentially lose data in some edge cases,
2) The command to fetch the PID {{ | grep apache-cassandra }} is unlikely to work reliably and safely. It'll probably not match in many environments, and it'll over-match in environments where multiple instances are running.
3) I'm not sure what problem this solves. Can you help explain why you need such utilities?
> Linux Script for stopping running cassandra and cqlsh
> -----------------------------------------------------
>
> Key: CASSANDRA-13901
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13901
> Project: Cassandra
> Issue Type: New Feature
> Reporter: Akash Sethi
> Priority: Minor
> Fix For: 3.11.0
>
> Attachments: 0001-Added-Linux-script-for-stopping-cassandra-and-cqlsh.patch
>
>
> The script for stopping Cassandra and cqlsh if running on any Linux machine.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org