public interface MapStatus extends ShuffleOutputStatus
| Modifier and Type | Method and Description | 
|---|---|
long | 
getSizeForBlock(int reduceId)
Estimated size for the reduce block, in bytes. 
 | 
BlockManagerId | 
location()
Location where this task output is. 
 | 
long | 
mapId()
The unique ID of this shuffle map task, if spark.shuffle.useOldFetchProtocol enabled we use
 partitionId of the task or taskContext.taskAttemptId is used. 
 | 
void | 
updateLocation(BlockManagerId newLoc)  | 
BlockManagerId location()
void updateLocation(BlockManagerId newLoc)
long getSizeForBlock(int reduceId)
If a block is non-empty, then this method MUST return a non-zero size. This invariant is necessary for correctness, since block fetchers are allowed to skip zero-size blocks.
reduceId - (undocumented)long mapId()