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 SomeOtherAccount. http://wiki.apache.org/hadoop/FAQ?action=diff&rev1=73&rev2=74 -------------------------------------------------- </description> </property> }}} - <<Anchor(30)>> ''2.1 [[#A30|When writing a New InputFormat, what is the format for the array of string returned by InputSplit\#getLocations()?]]'' + <<Anchor(30)>> ''30. [[#A30|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. @@ -284, +284 @@ 2. Use the UNIX mv command to move the individual blocks and meta pairs from one directory to another on each host 3. Restart the HDFS + <<BR>> <<Anchor(32)>> '''32. [[#A32|How do you gracefully stop a running job?]]''' + + hadoop job -kill JOBID +
