LiveRamp/hank — pull request #278 by pwestling (2013-04-26 01:27:27+00:00)
Title: add host locality information to splits

Pretty much copy/pasted from the locality code in our FileListSplit. For each location in the split, we query the file system for the hosts with that files blocks, and add up the block sizes for each host to see who has most. We give the hosts names, sorted, to the JobTracker to suggest hosts to run our tasks on.

@andrerodriguez should probably check this over and make sure I didn't mess anything up in the copying.