hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. O'Dell" <dod...@videoegg.com>
Subject names or ips in rack awareness script?
Date Wed, 18 Nov 2009 16:20:47 GMT
I'm trying to figure out if I should use ip addresses or dns names in my 
rack awareness script.

Its easier for me to use dns names because we have the row and rack 
number in the name which means I can dynamically determine the rack 
without having to manually update the list when adding nodes.

However this won't work if the script is passed ips as arguments.
Does anyone know what is being passed on to the script(ip's or dns names)

Relevant docs:
http://hadoop.apache.org/common/docs/r0.20.1/cluster_setup.html#Hadoop+Rack+Awareness
and
http://hadoop.apache.org/common/docs/r0.20.1/api/org/apache/hadoop/net/DNSToSwitchMapping.html#resolve(java.util.List)



Mime
View raw message