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
core-site.xml.

 

Regards,

Vijay

 

From: Mohammad Mustaqeem [mailto:3m.mustaq...@gmail.com] 
Sent: 15 April 2013 13:05
To: user@hadoop.apache.org
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
nodes.

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

9026604270

 

Reply via email to