1.

How Hadoop Determined The Distance Between Two Nodes?

Answer»

HADOOP ADMIN write a script called Topology script to determine the rack location of NODES. It is trigger to know the DISTANCE of the nodes to replicate the data. Configure this script in core-site.xml

<Property>

<name>topology.script.file.name</name>

<VALUE>core/rack-awareness.sh</value>

</property>

in the rack-awareness.sh you should write script where the nodes located.

Hadoop admin write a script called Topology script to determine the rack location of nodes. It is trigger to know the distance of the nodes to replicate the data. Configure this script in core-site.xml

<Property>

<name>topology.script.file.name</name>

<value>core/rack-awareness.sh</value>

</property>

in the rack-awareness.sh you should write script where the nodes located.



Discussion

No Comment Found