cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Guymon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5045) Add Configuration Loader to DatabaseDescriptor
Date Sat, 08 Dec 2012 02:45:20 GMT

    [ 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

Mime
View raw message