Sample Java Code for Hadoop