Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 37250 invoked from network); 6 Apr 2010 21:47:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 21:47:58 -0000 Received: (qmail 36096 invoked by uid 500); 6 Apr 2010 21:47:58 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 36081 invoked by uid 500); 6 Apr 2010 21:47:58 -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 36073 invoked by uid 99); 6 Apr 2010 21:47:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 21:47:58 +0000 X-ASF-Spam-Status: No, hits=-1233.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 21:47:53 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 73088234C1F2 for ; Tue, 6 Apr 2010 21:47:33 +0000 (UTC) Message-ID: <370251265.27061270590453457.JavaMail.jira@brutus.apache.org> Date: Tue, 6 Apr 2010 21:47:33 +0000 (UTC) From: "Stu Hood (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-925) Mimic the way storage-conf.xml is loaded for DC-config.xml In-Reply-To: <1957674323.556521269887667125.JavaMail.jira@brutus.apache.org> 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-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854205#action_12854205 ] Stu Hood commented on CASSANDRA-925: ------------------------------------ Thanks for the patch Rodrigo. Comments: # Changing the filename to datacenter-config.xml makes sense # Can we add a datacenter-config.xml.example to conf/? > Mimic the way storage-conf.xml is loaded for DC-config.xml > ---------------------------------------------------------- > > Key: CASSANDRA-925 > URL: https://issues.apache.org/jira/browse/CASSANDRA-925 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Rodrigo Peinado > Assignee: Stu Hood > Priority: Minor > Attachments: CASSANDRA-925.patch > > > Currently, the file location is wired inside "DataCenterEndPointSnitch" to "/etc/cassandra/DC-Config.xml". > One approach would be to load it the way "storage-conf.xml" is: first look at the system property "storage-config" then try the classpath. > Or add a tag to "storage-conf.xml" like this: > > ... > /etc/cassandra/DC-Config.xml > ... > > Any thoughts on this? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.