Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # user >> How is network distance for nodes calculated


+
Edmon Begoli 2011-11-22, 21:04
Copy link to this message
-
Re: How is network distance for nodes calculated
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