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
To: [EMAIL PROTECTED]
Subject: How to set Rack Id of DataNodes?
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..
With regards ---