hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Kubes <nutch-...@dragonflymc.com>
Subject Re: overriding config options on command line
Date Thu, 11 Jan 2007 21:02:13 GMT
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.
> 

Mime
View raw message