Managing and Monitoring a Cluster
Also available as:
loading table of contents...

Set the rack id using a custom topology script

If you do not want to have Ambari manage the rack information for hosts, you can use a custom topology script. To do this, you must create your own topology script and manage distributing the script to all hosts.
Ambari Web will not display heatmaps by rack, because Ambari will have no access to host rack information.
  1. Browse to Services > HDFS > Configs.
  2. Modify to your own custom topology script.
    For example: /etc/hadoop/conf/ .
  3. Distribute that topology script to your hosts.

You can now manage the rack mapping information for your script outside of Ambari.