Hadoop code done for The definitive book