Create a topology script

The topology script determines rack topology using the topology map.

The topology script determines rack topology using the topology map. By default, CDH uses /etc/hadoop/conf.cloudera.YARN-1/topology.py

To use a different script, set net.topology.script.file.name to the absolute path of the topology script.