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
            Priority: Minor


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