check in mapreduce program