mridulm commented on a change in pull request #30312:
URL: https://github.com/apache/spark/pull/30312#discussion_r527965482



##########
File path: 
common/network-common/src/main/java/org/apache/spark/network/client/TransportClientFactory.java
##########
@@ -254,7 +254,7 @@ TransportClient createClient(InetSocketAddress address)
       // Disable Nagle's Algorithm since we don't want packets to wait
       .option(ChannelOption.TCP_NODELAY, true)
       .option(ChannelOption.SO_KEEPALIVE, true)
-      .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, conf.connectionTimeoutMs())
+      .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 
conf.connectionCreationTimeoutMs())

Review comment:
       I agree with @Ngone51, a behavior change should be avoided.
   We can set the default value of `connectionCreationTimeoutMs` to be 
`connectionTimeoutMs` - so that users who want the fine grained control can 
override it as required.




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