cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-971) simplify configuration file loading
Date Tue, 13 Apr 2010 14:30:50 GMT


Eric Evans commented on CASSANDRA-971:

+1 (provided NEWS documents the config rename :)

> simplify configuration file loading
> -----------------------------------
>                 Key: CASSANDRA-971
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7
>         Attachments: 971.txt
> Currently we can load the configuration file from (a) a full path specified by -Dstorage-config,
or (b) "storage.conf.xml" located anywhere on the classpath (filename may not be changed).
> I think we should figure out what The Right Thing is to do here, and then do it, instead
of trying multiple guesses in an effort to prevent ... what?
> ISTM that the java idiom here is, look for a default filename on the classpath, and allow
customizing that name w/ a system property, but when taking the property ONLY the filename
is customized, not the full path.  This is what log4j does, for instance.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message