Link http://www.infoq.com/articles/HadoopMRUnit
Hadoop MapReduce jobs have a unique code architecture that raises interesting issues for test-driven development. In this article Michael Spicuzza provides a real-world example using MRUnit, Mockito, and PowerMock to solve these problems. By Michael Spicuzza