dongjoon-hyun commented on a change in pull request #28911:
URL: https://github.com/apache/spark/pull/28911#discussion_r479691221



##########
File path: 
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/BlockStoreClient.java
##########
@@ -61,4 +78,56 @@ public MetricSet shuffleMetrics() {
     // Return an empty MetricSet by default.
     return () -> Collections.emptyMap();
   }
+
+  /**
+   * Request the local disk directories for executors which are located at the 
same host with
+   * the current BlockStoreClient(it can be ExternalBlockStoreClient or 
NettyBlockTransferService).
+   *
+   * @param host the host of BlockManager or ExternalShuffleService. It's the 
same with current
+   *             BlockStoreClient.

Review comment:
       Although this is the default implementation of this abstract class, what 
happens when we break this assumption, `It's the same with current 
BlockStoreClient`? I believe we can remove this comment if this is a general 
reusable function for all remote host.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to