cloudera/kitten — pull request #2 by brianmartin (2012-06-27 20:17:39+00:00)
Title: HDFSFileFInder

A utility that returns a map from node -> (number of bytes) for a given path.

This is useful for applications that require data locality. That is, choosing to schedule a job where the majority of a file is located.

Example test output for a 15b file with 8b blocks:

```
127.0.0.1:58283 : 7
127.0.0.1:58289 : 15
127.0.0.1:58286 : 15
127.0.0.1:58292 : 8
```

p.s. I'm definitely open to a name change.