Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 67805 invoked from network); 5 Aug 2010 17:09:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Aug 2010 17:09:42 -0000 Received: (qmail 74746 invoked by uid 500); 5 Aug 2010 17:09:42 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 74711 invoked by uid 500); 5 Aug 2010 17:09:41 -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 74406 invoked by uid 99); 5 Aug 2010 17:09:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 17:09:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 17:09:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o75H9GS8007406 for ; Thu, 5 Aug 2010 17:09:17 GMT Message-ID: <966176.182791281028156970.JavaMail.jira@thor> Date: Thu, 5 Aug 2010 13:09:16 -0400 (EDT) From: "Nick Bailey (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1126) Allow loading of cassandra.yaml from a location given on the commandline In-Reply-To: <6525031.22261274743583963.JavaMail.jira@thor> 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-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895736#action_12895736 ] Nick Bailey commented on CASSANDRA-1126: ---------------------------------------- Hmm good point. It would still be possible to do it with that patch though. You'd just need a directory for each conf and to wrap the call to cassandra with something that sets the conf variable. Not quite as easy as the command line I suppose. > Allow loading of cassandra.yaml from a location given on the commandline > ------------------------------------------------------------------------ > > Key: CASSANDRA-1126 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1126 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 0.7 beta 1 > Reporter: Erik Onnen > Priority: Trivial > Fix For: 0.7.0 > > Attachments: DatabaseDescriptor.java.2.patch, DatabaseDescriptor.java.patch > > > As a convenience, predominantly for testing but also for some levels of automated ops, it would be helpful to allow cassandra.yaml to be specified explicitly during startup as opposed to always reading it from the classpath which cannot be altered at runtime (not easily anyway). > Sample patch attached that reads -D property cassandra.conf and gives it preference over any entry on the classpath. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.