org.apache.hadoop.mapreduce.task.reduce
Class MapOutput<K,V>
java.lang.Object
org.apache.hadoop.mapreduce.task.reduce.MapOutput<K,V>
@InterfaceAudience.LimitedPrivate(value="MapReduce")
@InterfaceStability.Unstable
public abstract class MapOutput<K,V>
- extends Object
MapOutput
public MapOutput(TaskAttemptID mapId,
long size,
boolean primaryMapOutput)
isPrimaryMapOutput
public boolean isPrimaryMapOutput()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getMapId
public TaskAttemptID getMapId()
getSize
public long getSize()
shuffle
public abstract void shuffle(MapHost host,
InputStream input,
long compressedLength,
long decompressedLength,
ShuffleClientMetrics metrics,
Reporter reporter)
throws IOException
- Throws:
IOException
commit
public abstract void commit()
throws IOException
- Throws:
IOException
abort
public abstract void abort()
getDescription
public abstract String getDescription()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Apache Software Foundation. All Rights Reserved.