You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nick Bailey (Created) (JIRA)" <ji...@apache.org> on 2012/02/29 22:11:56 UTC
[jira] [Created] (CASSANDRA-3983) Change order of directory
searching for c*.in.sh
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
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
[jira] [Updated] (CASSANDRA-3983) Change order of directory
searching for c*.in.sh
Posted by "Benjamin Coverston (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CASSANDRA-3983) Change order of directory
searching for c*.in.sh
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3983:
--------------------------------------
Priority: Minor (was: Major)
Assignee: paul cannon
> 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
>
> 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
[jira] [Updated] (CASSANDRA-3983) Change order of directory
searching for c*.in.sh
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3983:
--------------------------------------
Reviewer: thepaul
Assignee: Benjamin Coverston (was: paul cannon)
> 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: Benjamin Coverston
> 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