Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC19897B6 for ; Fri, 2 Mar 2012 00:09:20 +0000 (UTC) Received: (qmail 14931 invoked by uid 500); 2 Mar 2012 00:09:20 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 14889 invoked by uid 500); 2 Mar 2012 00:09:20 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 14881 invoked by uid 99); 2 Mar 2012 00:09:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 00:09:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 00:09:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7DCB74D94 for ; Fri, 2 Mar 2012 00:08:59 +0000 (UTC) Date: Fri, 2 Mar 2012 00:08:59 +0000 (UTC) From: "Jonathan Ellis (Updated) (JIRA)" To: commits@cassandra.apache.org Message-ID: <1204529036.9675.1330646939517.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1826741089.4805.1330549917000.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-3983) Change order of directory searching for c*.in.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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