hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Sammer <e...@lifeless.net>
Subject Re: configuration question
Date Sat, 13 Mar 2010 18:53:01 GMT
On 3/13/10 11:45 AM, Mag Gam wrote:
> Is it possible to give a "macro" for each host in the core-site.xml to say:
> 
> if (host=hostA):
>   use /data as dfs.data.dir
> 
> if (host=hostB):
>   use /somedata
> 
> if (host=hostC):
>   use /data
> 
> if (host=hostD):
>   use /blahBalh
> 
> 
> I want to do this because I plan to share the same core-site-xml file

Usually what people do is use something like Puppet or cfengine and
build and deploy configurations from a template.

Check out:
http://reductivelabs.com/trac/puppet/wiki/BigPicture

-- 
Eric Sammer
eric@lifeless.net
http://esammer.blogspot.com

Mime
View raw message