You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2010/08/25 17:44:17 UTC

[jira] Commented: (CASSANDRA-1364) Consolidate cassandra commands in bin/

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

Eric Evans commented on CASSANDRA-1364:
---------------------------------------

I'm sure there is common boilerplate initialization code that can be sourced from others, but please be careful of arbitrarily combining scripts.  For example, anything that would be run by a different class of user should be left separate.  That would obviate combining the *tools scripts with bin/cassandra since for example you might want bin/cassandra (installed to /usr/sbin let's say) run by root, but nodetool/clustertool (installed to /usr/bin) to be run by non-privileged users.

> Consolidate cassandra commands in bin/
> --------------------------------------
>
>                 Key: CASSANDRA-1364
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1364
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.6.3
>            Reporter: Nick Bailey
>            Priority: Minor
>             Fix For: 0.7.0
>
>
> Pretty much every script in bin has the same first 30 lines or so. We need to remove some of the duplication here.  This could be accomplished by consolidating some commands into a single script or adding an initializer script they all call.
> I think I prefer consolidating at least some of the commands. For example the *tool commands could easily be one cassandra-tool command.  It may even be possible to incorporate most of them into the cassandra script and have different commands for starting a node or using the tools.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.