Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change 
notification.

The "FAQ" page has been changed by JeffHammerbacher.
http://wiki.apache.org/hadoop/FAQ?action=diff&rev1=70&rev2=71

--------------------------------------------------

    </property>
  }}} 
  
+ <<Anchor(30)>>
+ ''2.1 [[#30|When writing a New InputFormat, what is the format for the array 
of string returned by InputSplit\#getLocations()?]]''
+ 
+ It appears that DatanodeID.getHost() is the standard place to retrieve this 
name, and the machineName variable, populated in DataNode.java\#startDataNode, 
is where the name is first set. The first method attempted is to get 
"slave.host.name" from the configuration; if that is not available, 
DNS.getDefaultHost is used instead.
+ 

Reply via email to