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

Switch to Threaded View
HDFS >> mail # user >> How to set Rack Id of DataNodes?

Copy link to this message
RE: How to set Rack Id of DataNodes?
Hi Mohammad,


Yes that's correct your "rack awareness" script takes the IP address of a
node and returns the rack name/id.

You then just have to ensure the script is executable and referenced (using
an absolute path) in the parameter topology.script.file.name in





From: Mohammad Mustaqeem [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2013 13:05
Subject: How to set Rack Id of DataNodes?


Hello everyone??

    I want to set the Rack Id of each DataNodes??

I have read somewhere that we have to write a script that gives Rack Id of

I want to clarify that the input of that script will be IP Address of
DataNode and the output will be the RackId..

Is it??


With regards ---

Mohammad Mustaqeem,

M.Tech (CSE)

MNNIT Allahabad