[ 
https://issues.apache.org/jira/browse/CASSANDRA-5301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Eriksson updated CASSANDRA-5301:
---------------------------------------

    Attachment: CASSANDRA-5301-v1.patch

patch that breaks out common code into configaware.in.sh that is installed in 
the same directory as the actualy executable scripts

problems is that we should probably not install include-files in /usr/bin etc, 
and if we drop it into say /usr/share/cassandra we would just have to try the 
various locations in the tool scripts again, the same code we just removed

so i'd probably close this as WONTFIX unless we want to do a real overhaul and 
perhaps have a wrapper script to all the small tools?

something like "cassandra-tool sstablelevelreset aa bb"
                
> Clean up bash scripts in bin/ and tools/bin/
> --------------------------------------------
>
>                 Key: CASSANDRA-5301
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5301
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Trivial
>         Attachments: CASSANDRA-5301-v1.patch
>
>
> there is alot of copy-and-pasting going on in the scripts in bin/ and 
> tools/bin/, create a script to include in the various tool-scripts, it should 
> do classpath and config file detection etc

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to