Return-Path: Delivered-To: apmail-incubator-cassandra-dev-archive@minotaur.apache.org Received: (qmail 64941 invoked from network); 16 Nov 2009 15:55:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 15:55:34 -0000 Received: (qmail 14395 invoked by uid 500); 16 Nov 2009 15:55:34 -0000 Delivered-To: apmail-incubator-cassandra-dev-archive@incubator.apache.org Received: (qmail 14385 invoked by uid 500); 16 Nov 2009 15:55:34 -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 14375 invoked by uid 99); 16 Nov 2009 15:55:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 15:55:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.218.210 as permitted sender) Received: from [209.85.218.210] (HELO mail-bw0-f210.google.com) (209.85.218.210) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 15:55:26 +0000 Received: by bwz2 with SMTP id 2so7839030bwz.20 for ; Mon, 16 Nov 2009 07:55:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=q8qNwPFcsD8OC8PWXcSEu01/E07YsQ5/jsds5+fW7z0=; b=skk6bzWqDjQNo9nj/8OllipxWcNZ7cfcyPWpTL4in3lSrALeUo7XJ4rtbbbGqTCTpj D1U/8MTXkf3+Tv15ajmZbO204NVMpj1JWVIgYA6fLVxat5MHTiDKAEuhGzftJDa5RrCy d1HbL5XdzLo5EpPt5/moAsfoW5P5YdEb5/06Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=I7rmgC02ahP/+ZUXnHIAzNOlo8PIyNd3H/6nxdf5LPaIqA7Q+fnyQLckYn5fALY2wR 2uHxKXOK3sIvD3T4kQbbufTOjI/m34uj1ahxpi5BJ2PtodnzKwABelW40FExHx6oXkDv Ks2p8t3LmqGyMkrUBQsVZqEi6H+HfPRGBthII= MIME-Version: 1.0 Received: by 10.216.93.74 with SMTP id k52mr1189841wef.144.1258386905536; Mon, 16 Nov 2009 07:55:05 -0800 (PST) In-Reply-To: <873a4ejxqh.fsf_-_@lifelogs.com> References: <76e64850911140401i555b5bf3h4997cf2c3cb119e1@mail.gmail.com> <873a4ejxqh.fsf_-_@lifelogs.com> From: Jonathan Ellis Date: Mon, 16 Nov 2009 09:54:45 -0600 Message-ID: Subject: Re: overriding directories from command line (was: 2 problems running Cassandra as a developper) To: cassandra-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2009/11/16 Ted Zlatanov : > - allow a prefix here, e.g. /usr/local/cassandra instead of the default /= var -1 on this, I think it makes it too easy to shoot yourself in the foot. > - allow passing the prefix and any of the directories from the command > =A0line -1 on this too; we've already made it easy to run different config files from the same binaries -- http://wiki.apache.org/cassandra/RunningCassandra -- and search-and-replace is easy enough. > A general configuration facility to allow named variables and > interpolation, similar to what the Apache Commons Configuration classes > do for XML Property files > (http://commons.apache.org/configuration/apidocs/org/apache/commons/confi= guration/XMLPropertiesConfiguration.html), > would be really nice too. I'd rather move away from XML entirely to something like http://jyaml.sourceforge.net/tutorial.html personally. -Jonathan