There are some example Driver, Mappers, and Reducers that come with the hadoop download, specifically in <hadoop-install-dir>/src/examples/org/... you can also try out the examples using the examples jar using "hadoop jar hadoop-0.18.2-examples.jar <driver> <input-path> <output-path>"