finish the histo mapreduce