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 0E9D9ED4B for ; Thu, 28 Feb 2013 18:15:15 +0000 (UTC) Received: (qmail 29096 invoked by uid 500); 28 Feb 2013 18:15:14 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 29061 invoked by uid 500); 28 Feb 2013 18:15:14 -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 29052 invoked by uid 99); 28 Feb 2013 18:15:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 18:15:14 +0000 Date: Thu, 28 Feb 2013 18:15:14 +0000 (UTC) From: "Jason Brown (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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 [ https://issues.apache.org/jira/browse/CASSANDRA-3983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589743#comment-13589743 ] Jason Brown commented on CASSANDRA-3983: ---------------------------------------- spoke with jbellis offline, and I see the argument for prioritizing the bin/cassandra.in.sh file > 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 > Components: Packaging > Reporter: Nick Bailey > Assignee: Benjamin Coverston > Priority: Minor > Fix For: 2.0 > > 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 For more information on JIRA, see: http://www.atlassian.com/software/jira