[ 
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:
> <Storage>
>    ...
>    <RackConfigFile>/etc/cassandra/DC-Config.xml</RackConfigFile>
>    ...
> </Storage>
> 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.

Reply via email to