How will you get the distance between two nodes in Apache Hadoop?

In Apache Hadoop we can use NetworkTopology.getDistance() method to get the distance between two nodes.

Distance from a node to its parent is considered as 1.

Read the full book at www.amazon.com
Posted in Hadoop, Hadoop Interview Questions

Leave a Reply

Your email address will not be published. Required fields are marked *

*