You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/09/30 19:58:49 UTC

[GitHub] [spark] viirya commented on a change in pull request #29916: [SPARK-33037] Add "spark.shuffle.manager" value to knownManagers to support user's custom shuffle manager plugin

viirya commented on a change in pull request #29916:
URL: https://github.com/apache/spark/pull/29916#discussion_r497765217



##########
File path: common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalShuffleBlockResolver.java
##########
@@ -135,6 +145,9 @@ public int weigh(File file, ShuffleIndexInformation indexInfo) {
       executors = Maps.newConcurrentMap();
     }
     this.directoryCleaner = directoryCleaner;
+    if (extraKnownManager != null) {
+      knownManagers.add(extraKnownManager);
+    }

Review comment:
       This looks like external shuffle service must support a specified shuffle manager? Except for built-in shuffle managers in `knownManagers`, are we sure any arbitrary shuffle manager can be well supported by external shuffle service?




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org