Tests
How to profile Hadoop Map or Reduce tasks
More examples.