Hadoop in Action
Example code from: [[http://www.manning.com/lam/]]
The code from the text is woefully out of date and I couldn't find any updated versions. Hadoop examples seem to vary widely release to release so this code is using the "new" API and works on Hadoop 0.20.2-cdh3u4. It probably works with Hadoop 1.0.x as well.