2. Add Properties to core-site.xml

  1. Stop HDFS using the instructions on this page.

  2. Add the following properties to core-site.xml:

    <property>
    <name>topology.script.file.name</name> 
    <value>/etc/hadoop/conf/rack-topology.sh</value>
    </property>
    
    <property> 
    <name>topology.script.number.args</name> 
    <value>1</value>
    </property>


loading table of contents...