cloud-fan commented on a change in pull request #26663: [SPARK-30015][Core] 
Continuous shuffle block fetching should be disabled by default when the old 
fetch protocol is used
URL: https://github.com/apache/spark/pull/26663#discussion_r350603896
 
 

 ##########
 File path: 
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalBlockHandler.java
 ##########
 @@ -290,6 +290,10 @@ public ShuffleMetrics() {
       final int[] mapIdAndReduceIds = new int[2 * blockIds.length];
       for (int i = 0; i < blockIds.length; i++) {
         String[] blockIdParts = blockIds[i].split("_");
+        if (blockIdParts.length == 5) {
 
 Review comment:
   the `if` below can fail as well, do we need this check?

----------------------------------------------------------------
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]

Reply via email to