Modified MapReduce with custom code to detect performance of every phase in mapreduce execution pipeline