org.apache.tez.runtime.library.common.shuffle.impl
Class ShuffleHeader
java.lang.Object
org.apache.tez.runtime.library.common.shuffle.impl.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 |
HTTP_HEADER_NAME
public static final String HTTP_HEADER_NAME
- Header info of the shuffle http request/response
- See Also:
- Constant Field Values
DEFAULT_HTTP_HEADER_NAME
public static final String DEFAULT_HTTP_HEADER_NAME
- See Also:
- Constant Field Values
HTTP_HEADER_VERSION
public static final String HTTP_HEADER_VERSION
- See Also:
- Constant Field Values
DEFAULT_HTTP_HEADER_VERSION
public static final String DEFAULT_HTTP_HEADER_VERSION
- See Also:
- Constant Field Values
ShuffleHeader
public ShuffleHeader()
ShuffleHeader
public ShuffleHeader(String mapId,
long compressedLength,
long uncompressedLength,
int forReduce)
getMapId
public String getMapId()
getPartition
public int getPartition()
getUncompressedLength
public long getUncompressedLength()
getCompressedLength
public long getCompressedLength()
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 © 2014 Apache Software Foundation. All rights reserved.