Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Externalizing Hadoop configuration files

Copy link to this message
Re: Externalizing Hadoop configuration files
You need to develop externalization yourself.

Our installer uses place holders such as:


They would be resolved at time of deployment.

On Wed, Feb 16, 2011 at 3:06 PM, Jing Zang <[EMAIL PROTECTED]>wrote:

> How do I externalize the parameters in hadoop configuration files so make
> it easier for the operations team?. Ideally something like:
> File: mapred-site.xml
>  <property>        <name>mapred.job.tracker</name>
>  <value>${hadoop.mapred}</value>    </property>
> File: hadoop.conf (External to the app)hadoop.mapred=hadoop:9001
> Anything as easy as Spring' sPropertyPlaceholderConfigurer or similar? How
> do you guys externalize the parameters to a configuration file outside the
> app?
> Thanks.