[
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.