HyukjinKwon commented on code in PR #40066:
URL: https://github.com/apache/spark/pull/40066#discussion_r1112001886


##########
python/pyspark/sql/connect/client.py:
##########
@@ -409,7 +409,7 @@ def __init__(
         self._builder = ChannelBuilder(connectionString, channelOptions)
         self._user_id = None
         self._retry_policy = {
-            "max_retries": 15,
+            "max_retries": 4,

Review Comment:
   Saw PR description but it doesn't explain why it picks 4 vs 3.
   
   We have many configurations that defaulting to 3, e.g. 
`spark.rpc.numRetries`, `spark.shuffle.io.maxRetries` that all default to 3. 
Can we match it if there isn't a reason for that?



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