@InterfaceAudience.Private @InterfaceStability.Stable public class ShuffleHeader extends Object implements org.apache.hadoop.io.Writable
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_HTTP_HEADER_NAME |
static String |
DEFAULT_HTTP_HEADER_VERSION |
static String |
HTTP_HEADER_NAME
Header info of the shuffle http request/response
|
static String |
HTTP_HEADER_VERSION |
Constructor and Description |
---|
ShuffleHeader() |
ShuffleHeader(String mapId,
long compressedLength,
long uncompressedLength,
int forReduce) |
public static final String HTTP_HEADER_NAME
public static final String DEFAULT_HTTP_HEADER_NAME
public static final String HTTP_HEADER_VERSION
public static final String DEFAULT_HTTP_HEADER_VERSION
public ShuffleHeader()
public ShuffleHeader(String mapId, long compressedLength, long uncompressedLength, int forReduce)
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2020 Apache Software Foundation. All rights reserved.