[
https://issues.apache.org/jira/browse/CASSANDRA-3983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Coverston updated CASSANDRA-3983:
------------------------------------------
Attachment: 3983.txt
Attaching a new set of scripts that all use the same resolution strategy for
the include file starting first with the local directory, then the configured
$HOME finally using the remaining directories where the packages may live.
This patch does not address any issues with current packaging setting, or not
setting the proper environment variables.
> Change order of directory searching for c*.in.sh
> ------------------------------------------------
>
> Key: CASSANDRA-3983
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3983
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Nick Bailey
> Assignee: paul cannon
> Priority: Minor
> Attachments: 3983.txt
>
>
> When you have a c* package installed but attempt to run from a source build,
> 'bin/cassandra' will search the packaged dirs for 'cassandra.in.sh' before
> searching the dirs in your source build. We should reverse the order of that
> search so it checks locally first. Also the init scripts for a package should
> set the environment variables correctly so no searching needs to be done and
> there is no worry of the init scripts loading the wrong file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira