write the hadoop util and examples