in Big Data | Hadoop by
Q:
How will you get the distance between two nodes in Apache Hadoop?

▼ Show 1 Answer

0 votes
by

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.

Learn More with Madanswer

Related questions

0 votes
asked Sep 7, 2019 in Big Data | Hadoop by john ganales
...