hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mag Gam <magaw...@gmail.com>
Subject configuration question
Date Sat, 13 Mar 2010 16:45:16 GMT
I have 4 hosts, hostA, hostB, hostC, hostD.


I plan on hosting my data directory as follows:

hostA:
/data

hostB:
/somedata

hostC:
/data

hostD:
/blahBalh


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

Mime
View raw message