hadoop code and results