Hadoop code