Return-Path: Delivered-To: apmail-incubator-cassandra-dev-archive@minotaur.apache.org Received: (qmail 95978 invoked from network); 26 Jan 2010 15:05:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jan 2010 15:05:14 -0000 Received: (qmail 63997 invoked by uid 500); 26 Jan 2010 15:05:14 -0000 Delivered-To: apmail-incubator-cassandra-dev-archive@incubator.apache.org Received: (qmail 63980 invoked by uid 500); 26 Jan 2010 15:05:14 -0000 Mailing-List: contact cassandra-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-dev@incubator.apache.org Received: (qmail 63970 invoked by uid 99); 26 Jan 2010 15:05:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 15:05:14 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcdcd-cassandra-dev@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 15:05:06 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NZmyA-0006IY-CK for cassandra-dev@incubator.apache.org; Tue, 26 Jan 2010 16:04:42 +0100 Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jan 2010 16:04:42 +0100 Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jan 2010 16:04:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: cassandra-dev@incubator.apache.org From: Ted Zlatanov Subject: Re: overriding directories from command line Date: Tue, 26 Jan 2010 09:03:46 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Lines: 47 Message-ID: <87hbq8vrfx.fsf@lifelogs.com> References: <76e64850911140401i555b5bf3h4997cf2c3cb119e1@mail.gmail.com> <873a4ejxqh.fsf_-_@lifelogs.com> <20091116173915.GA59491@alumni.caltech.edu> <87d43c9ai8.fsf@lifelogs.com> <1258751487.927514589@192.168.1.70> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:8CIUHr0BxUkASNQLkLtf1kvoKrk= Sender: news I created http://issues.apache.org/jira/browse/CASSANDRA-743 as a wish item to address just includes. I can implement it for XML but it may be better to make it a dependency of the YAML work in http://issues.apache.org/jira/browse/CASSANDRA-671. Ted On Fri, 20 Nov 2009 15:11:27 -0600 (CST) "Stu Hood" wrote: SH> I would vote for this one as well, if somebody wants to create the issue. SH> -----Original Message----- SH> From: "Ted Zlatanov" SH> Sent: Friday, November 20, 2009 3:01pm SH> To: cassandra-dev@incubator.apache.org SH> Subject: Re: overriding directories from command line SH> On Mon, 16 Nov 2009 09:39:15 -0800 Anthony Molinaro wrote: AM> If you are thinking about config file changes I'd like to request some AM> sort of inclusion mechanism. For instance, if you could had 2 keyspaces AM> which you want to deploy on separate clusters in production but allow AM> developers to install simultaneously on their development box, it would AM> be great if you could do this by have 3 files. One of which has settings AM> specific to the developer box (ie, memory settings), and one for each AM> keyspace. Then I could create 5 packages (RPM or deb) AM> 1. one with the developer box settings which includes both keyspace configs AM> 2. one with the production box settings for the cluster controlling keyspace1 AM> which includes keyspace1 config. AM> 3. one with the production box settings for the cluster controlling keyspace2 AM> which includes keyspace2 config. AM> 4. one with just the keyspace1 config. AM> 5. one with just the keyspace2 config. AM> I could do all this with a bunch of preprocessing at package build time, AM> but that gets a little annoying. And right now I just have the config AM> copied and everytime I need to change a CF I need to change it in 3 AM> places (devel, qa, and prod configs). AM> One great solution would be to support the loading of multiple configs AM> from a directory. You already see this a lot, for instance /etc/init.d AM> or /etc/httpd/conf.d on most unix systems. SH> This is actually my situation too. I have to roll out slightly SH> customized Cassandra instances to several colos and it's unpleasant to SH> use cfengine or Puppet to edit XML files, so I'd rather have some simple SH> inclusion and interpolation mechanism.