Ngone51 commented on a change in pull request #33034:
URL: https://github.com/apache/spark/pull/33034#discussion_r677174779
##########
File path:
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/RemoteBlockPushResolver.java
##########
@@ -725,15 +896,32 @@ public void onData(String streamId, ByteBuffer buf)
throws IOException {
@Override
public void onComplete(String streamId) throws IOException {
synchronized (partitionInfo) {
- logger.trace("{} shuffleId {} reduceId {} onComplete invoked",
- partitionInfo.appId, partitionInfo.shuffleId,
+ logger.trace("{} shuffleId {} shuffleMergeId {} reduceId {} onComplete
invoked",
+ partitionInfo.appId, partitionInfo.shuffleId,
partitionInfo.shuffleMergeId,
partitionInfo.reduceId);
- Map<Integer, AppShufflePartitionInfo> shufflePartitions =
+ Map<Integer, Map<Integer, AppShufflePartitionInfo>>
shuffleMergePartitions =
appShuffleInfo.partitions.get(partitionInfo.shuffleId);
+ if (shuffleMergePartitions == null) {
Review comment:
Same as above, this shouldn't happen.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]