Set the rack id using a custom topology script
Ambari Web will not display heatmaps by rack, because Ambari will have no access to host rack information.
- Browse to .
Modify net.topology.script.file.name to your own custom topology
For example: /etc/hadoop/conf/topology.sh .
- Distribute that topology script to your hosts.
You can now manage the rack mapping information for your script outside of Ambari.