Add the topology script property to core-site.xml
Assign the name of the topology script to the
net.topology.script.file.name
property in core-site.xml
.
Assign the name of the topology script to the
net.topology.script.file.name
property in core-site.xml
.
core-site.xml
.
net.topology.script.file.name
is the name of the topology script
file.
<property>
<name>net.topology.script.file.name</name>
<value>/etc/hadoop/conf/rack-topology.sh</value>
</property>
net.topology.script.number.args
property, as shown in the following
example:
<property>
<name>net.topology.script.number.args</name>
<value>75</value>
</property>