hadoop exercise - in class