You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Guymon (JIRA)" <ji...@apache.org> on 2012/12/08 03:45:20 UTC

[jira] [Commented] (CASSANDRA-5045) Add Configuration Loader to DatabaseDescriptor

    [ 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