Refactor mergeMapJoinTaskWithMapReduceTask