cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dopsun (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1126) Allow loading of cassandra.yaml from a location off the classpath
Date Sun, 11 Jul 2010 20:55:49 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

dopsun updated CASSANDRA-1126:
------------------------------

    Attachment: DatabaseDescriptor.java.2.patch

Attached a patch, modified from original one.

Patch file tested in Eclipse 3.6 against trunk code base.

> Allow loading of cassandra.yaml from a location off the classpath
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-1126
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1126
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Erik Onnen
>            Priority: Trivial
>             Fix For: 0.7
>
>         Attachments: DatabaseDescriptor.java.2.patch, DatabaseDescriptor.java.patch
>
>
> As a convenience, predominantly for testing but also for some levels of automated ops,
it would be helpful to allow cassandra.yaml to be specified explicitly during startup as opposed
to always reading it from the classpath which cannot be altered at runtime (not easily anyway).
> Sample patch attached that reads -D property cassandra.conf and gives it preference over
any entry on the classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message