From hadoop-user-return-724-apmail-lucene-hadoop-user-archive=lucene.apache.org@lucene.apache.org Thu Jan 11 21:02:44 2007 Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 4347 invoked from network); 11 Jan 2007 21:02:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2007 21:02:43 -0000 Received: (qmail 96764 invoked by uid 500); 11 Jan 2007 21:02:44 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 96743 invoked by uid 500); 11 Jan 2007 21:02:44 -0000 Mailing-List: contact hadoop-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-user@lucene.apache.org Delivered-To: mailing list hadoop-user@lucene.apache.org Received: (qmail 96722 invoked by uid 99); 11 Jan 2007 21:02:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 13:02:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [63.133.162.98] (HELO linuxfly.dragonflymc.com) (63.133.162.98) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 13:02:35 -0800 Received: from [192.168.1.246] (bigfly.visvo.com [192.168.1.246]) by linuxfly.dragonflymc.com (Postfix) with ESMTP id 8D6FAC20027 for ; Thu, 11 Jan 2007 15:02:47 -0600 (CST) Message-ID: <45A6A5D5.3090506@dragonflymc.com> Date: Thu, 11 Jan 2007 15:02:13 -0600 From: Dennis Kubes User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: hadoop-user@lucene.apache.org Subject: Re: overriding config options on command line References: <20070111202328.GK30381@mcnabbs.org> In-Reply-To: <20070111202328.GK30381@mcnabbs.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org you can have a different set of configuration files in a different config directory with your options and then export NUTCH_CONF_DIR on nutch or HADOOP_CONF_DIR on just hadoop before running your script. export HADOOP_CONF_DIR=/my/config/path Dennis Kubes Andrew McNabb wrote: > I'm trying to figure out how to override configuration settings on the > command line. Specifically, when I run say, "hadoop-daemon.sh start > datanode", I need to be able to give it the name of the filesystem and > the IP address of the master node. The master node varies from run to > run, and it's not simple to modify hadoop-site.xml on the fly. > > I couldn't see anything in the documentation, but is there a way to > specify fs.default.name and mapred.job.tracker on the command line when > calling hadoop-daemon.sh? This would be really, really helpful. > > Thanks. >