Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 5580 invoked from network); 20 Apr 2009 20:54:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Apr 2009 20:54:12 -0000 Received: (qmail 41214 invoked by uid 500); 20 Apr 2009 20:54:12 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 41197 invoked by uid 500); 20 Apr 2009 20:54:12 -0000 Mailing-List: contact chukwa-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-dev@hadoop.apache.org Received: (qmail 41187 invoked by uid 99); 20 Apr 2009 20:54:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2009 20:54:12 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=HTML_MESSAGE,NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.145.54.172] (HELO mrout2.yahoo.com) (216.145.54.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2009 20:54:00 +0000 Received: from sp1-ex07cas03.ds.corp.yahoo.com (sp1-ex07cas03.ds.corp.yahoo.com [216.252.116.151]) by mrout2.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n3KKqpSK082030 for ; Mon, 20 Apr 2009 13:52:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:in-reply-to:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage:content-type:mime-version; b=aRTAcwk/ycTQWTglsISdFHLHZAvFTTfQYfp0pzZjYwl5V40mbGOFfhPXAVA3Uutv Received: from SP1-EX07VS02.ds.corp.yahoo.com ([216.252.116.135]) by sp1-ex07cas03.ds.corp.yahoo.com ([216.252.116.151]) with mapi; Mon, 20 Apr 2009 13:52:51 -0700 From: Jerome Boulon To: "chukwa-dev@hadoop.apache.org" Date: Mon, 20 Apr 2009 13:52:49 -0700 Subject: Re: Conf directory and Templates Thread-Topic: Conf directory and Templates Thread-Index: AcnB7X54qLW7hquRhUO8bgXCEYdayAAAYqX/AAK7dkg= Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C6122EB11A6F6jboulonyahooinccom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C6122EB11A6F6jboulonyahooinccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable conf-table-latest.doc is your proposal. chuwa-demux-conf contains both User (non-developer) related configuration l= ike all aliases and developer configuration like number of reducer. What's the difference between hadoop-metrics and chuwa-demux-conf? /Jerome. On 4/20/09 12:34 PM, "Eric Yang" wrote: There is a guideline. See: https://issues.apache.org/jira/browse/CHUKWA-112 Read conf-table-latest.doc for more information. User (non-developer) related configuration should have .template. Develope= r config file should not contain .template, i.e. chukwa-demux-conf.xml, and mdl.xml. Regards, Eric On 4/20/09 12:23 PM, "Jerome Boulon" wrote: > Hi, > > Can we define some guideline on what should be named .template and what > shouldn't? > > chukwa-demux-conf.xml.template has been renamed to chukwa-demux-conf.xml > mdl.xml.template has been renamed to mdl.xml > > Both files contains information that can be removed/update by the end-use= r > to configure either Demux or DbLoader, for me those 2 files are config fi= les > similar to hadoop-metrics.properties.template. So why renaming them? > > In my mind, everything that can be configured should be in a .template. > > A script to process all templates files and output the right configuratio= n > file based on a property file could be created. > > Thanks, > Jerome. > > --_000_C6122EB11A6F6jboulonyahooinccom_--