@Override
public List<Event> initialize(TezOutputContext outputContext)
throws IOException {
this.outputContext = outputContext;
this.sorter = new InMemoryShuffleSorter();
sorter.initialize(outputContext, TezUtils.createConfFromUserPayload(outputContext.getUserPayload()), numTasks);
return Collections.emptyList();
}