commit the mapreduce programme