org.apache.hadoop.mapreduce.task.reduce
Class ShuffleHeader
java.lang.Object
org.apache.hadoop.mapreduce.task.reduce.ShuffleHeader
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
@InterfaceAudience.Private
@InterfaceStability.Stable
public class ShuffleHeader
- extends Object
- implements org.apache.hadoop.io.Writable
Shuffle Header information that is sent by the TaskTracker and
deciphered by the Fetcher thread of Reduce task
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShuffleHeader
public ShuffleHeader()
ShuffleHeader
public ShuffleHeader(String mapId,
long compressedLength,
long uncompressedLength,
int forReduce)
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2012 Apache Software Foundation. All Rights Reserved.