K
- key type for map outputV
- value type for map outputpublic abstract class IFileWrappedMapOutput<K,V> extends MapOutput<K,V>
MapOutput.MapOutputComparator<K,V>
Constructor and Description |
---|
IFileWrappedMapOutput(org.apache.hadoop.conf.Configuration c,
MergeManagerImpl<K,V> m,
TaskAttemptID mapId,
long size,
boolean primaryMapOutput) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doShuffle(MapHost host,
IFileInputStream iFileInputStream,
long compressedLength,
long decompressedLength,
ShuffleClientMetrics metrics,
Reporter reporter) |
protected MergeManagerImpl<K,V> |
getMerger() |
void |
shuffle(MapHost host,
InputStream input,
long compressedLength,
long decompressedLength,
ShuffleClientMetrics metrics,
Reporter reporter) |
abort, commit, equals, getDescription, getMapId, getSize, hashCode, isPrimaryMapOutput, toString
public IFileWrappedMapOutput(org.apache.hadoop.conf.Configuration c, MergeManagerImpl<K,V> m, TaskAttemptID mapId, long size, boolean primaryMapOutput)
protected MergeManagerImpl<K,V> getMerger()
protected abstract void doShuffle(MapHost host, IFileInputStream iFileInputStream, long compressedLength, long decompressedLength, ShuffleClientMetrics metrics, Reporter reporter) throws IOException
IOException
public void shuffle(MapHost host, InputStream input, long compressedLength, long decompressedLength, ShuffleClientMetrics metrics, Reporter reporter) throws IOException
shuffle
in class MapOutput<K,V>
IOException
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.