Stop HDFS using the applicable commands in the "Controlling HDP Services Manually" section of Installing HDP Manually
Add the following property to
core-site.xml
:<property> <name>net.topology.script.file.name</name> <value>/etc/hadoop/conf/rack-topology.sh</value> </property>
By default the topology script will process up to 100 requests per invocation. You can
also specify a different number of requests with the
net.topology.script.number.args
property. For example:
<property> <name>net.topology.script.number.args</name> <value>75</value> </property>