@Override
public List<Pair<K2, V2>> run() throws IOException {
MockOutputCollector<K2, V2> outputCollector =
new MockOutputCollector<K2, V2>(getConfiguration());
MockReporter reporter = new MockReporter(MockReporter.ReporterType.Reducer, getCounters());
myReducer.reduce(inputKey, inputValues.iterator(), outputCollector,
reporter);
List<Pair<K2, V2>> outputs = outputCollector.getOutputs();