public interface MapStatus
Modifier and Type | Method and Description |
---|---|
long |
getSizeForBlock(int reduceId)
Estimated size for the reduce block, in bytes.
|
BlockManagerId |
location()
Location where this task was run.
|
BlockManagerId location()
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.