MigratableResolver¶
MigratableResolver is an abstraction of resolvers that allow Spark to migrate shuffle blocks.
Contract¶
getMigrationBlocks¶
getMigrationBlocks(
shuffleBlockInfo: ShuffleBlockInfo): List[(BlockId, ManagedBuffer)]
Used when:
ShuffleMigrationRunnableis requested to run
getStoredShuffles¶
getStoredShuffles(): Seq[ShuffleBlockInfo]
Used when:
BlockManagerDecommissioneris requested to refreshOffloadingShuffleBlocks
putShuffleBlockAsStream¶
putShuffleBlockAsStream(
blockId: BlockId,
serializerManager: SerializerManager): StreamCallbackWithID
Used when:
BlockManageris requested to putBlockDataAsStream