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