Some hadoop code for myself learning