zuston commented on code in PR #2789:
URL: https://github.com/apache/uniffle/pull/2789#discussion_r3966458771


##########
client-spark/common/src/main/java/org/apache/spark/shuffle/RssSparkConfig.java:
##########
@@ -40,6 +40,12 @@
 
 public class RssSparkConfig {
 
+  public static final ConfigOption<Integer> RSS_CLIENT_RPC_EXECUTOR_SIZE =
+      ConfigOptions.key("rss.clinet.rpc.executor.size")

Review Comment:
   typo: `clinet` -> `client`



##########
client-spark/common/src/main/java/org/apache/uniffle/shuffle/manager/ShuffleManagerServerFactory.java:
##########
@@ -47,6 +49,8 @@ public GrpcServer getServer(ShuffleManagerGrpcService 
service) {
       if (service == null) {
         service = new ShuffleManagerGrpcService(shuffleManager);
       }
+      conf.set(

Review Comment:
   To make it cleaner, could we define poolSize as a dedicated class field and 
pass it to the builder rather than overwriting the option of 
`RPC_EXECUTOR_SIZE` ? 
   
   ```
   GrpcServer.Builder.newBuilder()
           .conf(conf)
           .grpcThreadPoolSize(poolSize)
           .grpcMetrics(GRPCMetrics.getEmptyGRPCMetrics(conf))
           .addService(service)
           .build();
   ```



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