cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Zlatanov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-743) configuration should support includes
Date Fri, 29 Jan 2010 13:56:34 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806338#action_12806338
] 

Ted Zlatanov commented on CASSANDRA-743:
----------------------------------------

Here's the original context: http://thread.gmane.org/gmane.comp.db.cassandra.devel/557/focus=571

Given two machines with identical storage-conf.xml except for directories, for example, currently
you need two separate storage-conf.xml files with 99% identical contents.  This quickly becomes
painful if other parameters vary slightly, too.  You can see Anthony Molinaro's situation
and mine is very similar.

This patch refactors storage-conf.xml to be a single top configuration file with included
configuration sections for seeds, tuning, directories, and networking.  It all uses XML facilities
(as recommended by the XML FAQ at http://xml.silmaril.ie/authors/includes) so no code changes
are required.

As I said, it doesn't have to go into SVN (although I think it improves the current monolithic
XML file a bit).  It can just go on the wiki as a suggestion, which I'll do at http://wiki.apache.org/cassandra/StorageConfiguration
if you reject the patch.

> configuration should support includes
> -------------------------------------
>
>                 Key: CASSANDRA-743
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-743
>             Project: Cassandra
>          Issue Type: Wish
>          Components: Core
>            Reporter: Ted Zlatanov
>            Priority: Minor
>         Attachments: 001-CASSANDRA-743-confsplit.patch
>
>
> I hope to get includes working (as discussed on the dev mailing list in November 2009)
so Cassandra configs can be split into a generic and a machine-specific piece.  That would
make deployments easier.

-- 
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