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 AE813E41D for ; Sat, 8 Dec 2012 02:45:22 +0000 (UTC) Received: (qmail 32687 invoked by uid 500); 8 Dec 2012 02:45:22 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 32657 invoked by uid 500); 8 Dec 2012 02:45:22 -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 32627 invoked by uid 99); 8 Dec 2012 02:45:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Dec 2012 02:45:21 +0000 Date: Sat, 8 Dec 2012 02:45:20 +0000 (UTC) From: "Michael Guymon (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5045) Add Configuration Loader to DatabaseDescriptor 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-5045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527002#comment-13527002 ] Michael Guymon commented on CASSANDRA-5045: ------------------------------------------- I took a stab at asserting the logic used in DatabaseDesciptor to produce the final Config. Unfortunately, during the processing of the Config, when the DynamicSnitch and the MessagingService are created, they reference back to the DatabaseDescriptor's Config. This circular reference makes it difficult (impossible?) to build a Config to test without changing the one DatabaseDescriptor is using. > Add Configuration Loader to DatabaseDescriptor > ---------------------------------------------- > > Key: CASSANDRA-5045 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5045 > Project: Cassandra > Issue Type: New Feature > Reporter: Michael Guymon > Priority: Minor > Labels: patch > Attachments: 0001-Add-configuration-loader-to-DatabaseDescriptor.patch > > > Based on feed back from CASSANDRA-4998 - > Added IConfigurationLoader that is used to load an external Config. When the System Property cassandra.config.loader is defined with an implementing class, DatabaseDescriptor with will that Config over loading the cassandra.yaml. -- 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