hadoop code