|
|
+
Edmon Begoli 2011-11-22, 21:04
-
Re: How is network distance for nodes calculatedSteve Loughran 2011-11-23, 10:18
On 22/11/11 21:04, Edmon Begoli wrote:
> I am reading Hadoop Definitive Guide 2nd Edition and I am struggling > to figure out the exact > Hadoop's formula for network distance calculation (page 64/65). (I > have my guesses, but I would like to know the exact formula) It's implemented in org.apache.hadoop.net.NetworkTopology It's measuring the #of network hops to get there, "2" = n1 -> switch1 -> n2 etc |