some example code of Hadoop