BlockFetchStarter
BlockFetchStarter is the contract of…FIXME…to createAndStart.
|
1 2 3 4 5 6 |
void createAndStart(String[] blockIds, BlockFetchingListener listener) throws IOException, InterruptedException; |
createAndStart is used when:
-
ExternalShuffleClientis requested to fetchBlocks (when maxIORetries is0) -
NettyBlockTransferServiceis requested to fetchBlocks (when maxIORetries is0) -
RetryingBlockFetcheris requested to fetchAllOutstanding
spark技术分享