xuanyuanking commented on a change in pull request #26040: [SPARK-9853][Core]
Optimize shuffle fetch of continuous partition IDs
URL: https://github.com/apache/spark/pull/26040#discussion_r332982602
##########
File path:
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalBlockHandler.java
##########
@@ -343,8 +349,15 @@ public boolean hasNext() {
@Override
public ManagedBuffer next() {
- final ManagedBuffer block = blockManager.getBlockData(
- appId, execId, shuffleId, mapIds[mapIdx],
reduceIds[mapIdx][reduceIdx]);
+ ManagedBuffer block;
+ if (!batchFetchEnabled) {
Review comment:
Thanks, done in 3b6c5a6.
----------------------------------------------------------------
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]