jerqi commented on code in PR #739:
URL: https://github.com/apache/incubator-uniffle/pull/739#discussion_r1141012889


##########
client-spark/spark3/src/main/java/org/apache/spark/shuffle/RssShuffleManager.java:
##########
@@ -346,6 +347,11 @@ public <K, V, C> ShuffleHandle registerShuffle(int 
shuffleId, ShuffleDependency<
     long retryInterval = 
sparkConf.get(RssSparkConfig.RSS_CLIENT_ASSIGNMENT_RETRY_INTERVAL);
     int retryTimes = 
sparkConf.get(RssSparkConfig.RSS_CLIENT_ASSIGNMENT_RETRY_TIMES);
     int estimateTaskConcurrency = 
RssSparkShuffleUtils.estimateTaskConcurrency(sparkConf);
+    if 
(sparkConf.get(RssSparkConfig.RSS_CLIENT_TYPE).equals(ClientType.GRPC_NETTY.name()))
 {

Review Comment:
   More safe
   
   ```
   
ClientType.GRPC_NETTY.name().equals(sparkConf.get(RssSparkConfig.RSS_CLIENT_TYPE))
   ```



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

Reply via email to