Deegue commented on a change in pull request #24740: [SPARK-27876][CORE] Split
large shuffle partition to multi-segments to enable transfer oversize shuffle
partition block
URL: https://github.com/apache/spark/pull/24740#discussion_r308045229
##########
File path:
core/src/main/scala/org/apache/spark/network/netty/NettyBlockRpcServer.scala
##########
@@ -64,10 +64,22 @@ class NettyBlockRpcServer(
responseContext.onSuccess(new StreamHandle(streamId,
blocksNum).toByteBuffer)
case fetchShuffleBlocks: FetchShuffleBlocks =>
+ val shuffleFetchSplit = fetchShuffleBlocks.shuffleFetchSplit;
val blocks = fetchShuffleBlocks.mapIds.zipWithIndex.flatMap { case
(mapId, index) =>
- fetchShuffleBlocks.reduceIds.apply(index).map { reduceId =>
- blockManager.getBlockData(
- ShuffleBlockId(fetchShuffleBlocks.shuffleId, mapId, reduceId))
+ if (shuffleFetchSplit) {
Review comment:
Redundant for `shuffleFetchSplit`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]