Hadoop code for example