Categories

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

1 Answer

Jan 11

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.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Sep 7, 2019 in Big Data | Hadoop
Sep 7, 2019 in Big Data | Hadoop
Jan 13 in Big Data | Hadoop
...