protected MergeManager<K, V> createMergeManager( ShuffleConsumerPlugin.Context context) { return new MergeManagerImpl<K, V>(reduceId, jobConf, context.getLocalFS(), context.getLocalDirAllocator(), reporter, context.getCodec(), context.getCombinerClass(), context.getCombineCollector(), context.getSpilledRecordsCounter(), context.getReduceCombineInputCounter(), context.getMergedMapOutputsCounter(), this, context.getMergePhase(), context.getMapOutputFile()); }
protected MergeManager<K, V> createMergeManager( ShuffleConsumerPlugin.Context context) { return new MergeManagerImpl<K, V>(reduceId, jobConf, context.getLocalFS(), context.getLocalDirAllocator(), reporter, context.getCodec(), context.getCombinerClass(), context.getCombineCollector(), context.getSpilledRecordsCounter(), context.getReduceCombineInputCounter(), context.getMergedMapOutputsCounter(), this, context.getMergePhase(), context.getMapOutputFile()); }
protected MergeManager<K, V> createMergeManager( ShuffleConsumerPlugin.Context context) { return new MergeManagerImpl<K, V>(reduceId, jobConf, context.getLocalFS(), context.getLocalDirAllocator(), reporter, context.getCodec(), context.getCombinerClass(), context.getCombineCollector(), context.getSpilledRecordsCounter(), context.getReduceCombineInputCounter(), context.getMergedMapOutputsCounter(), this, context.getMergePhase(), context.getMapOutputFile()); }
protected MergeManager<K, V> createMergeManager( ShuffleConsumerPlugin.Context context) { return new MergeManagerImpl<K, V>(reduceId, jobConf, context.getLocalFS(), context.getLocalDirAllocator(), reporter, context.getCodec(), context.getCombinerClass(), context.getCombineCollector(), context.getSpilledRecordsCounter(), context.getReduceCombineInputCounter(), context.getMergedMapOutputsCounter(), this, context.getMergePhase(), context.getMapOutputFile()); }
@Override public void init(ShuffleConsumerPlugin.Context<K, V> context) { // just verify that Context has kept its public interface context.getReduceId(); context.getJobConf(); context.getLocalFS(); context.getUmbilical(); context.getLocalDirAllocator(); context.getReporter(); context.getCodec(); context.getCombinerClass(); context.getCombineCollector(); context.getSpilledRecordsCounter(); context.getReduceCombineInputCounter(); context.getShuffledMapsCounter(); context.getReduceShuffleBytes(); context.getFailedShuffleCounter(); context.getMergedMapOutputsCounter(); context.getStatus(); context.getCopyPhase(); context.getMergePhase(); context.getReduceTask(); context.getMapOutputFile(); }