Demo code for Hadoop