JoshRosen opened a new pull request, #42619:
URL: https://github.com/apache/spark/pull/42619

   ### What changes were proposed in this pull request?
   
   https://github.com/apache/spark/pull/41785 / SPARK-44241 introduced a new 
`awaitUninterruptibly()` call in one branch of 
`TrasportClientFactory.createClient()` (executed when the connection create 
timeout is non-positive). This PR replaces that call with an interruptible 
`await()` call.
   
   Note that the other pre-existing branches in this method were already using 
`await()`.
   
   ### Why are the changes needed?
   
   Uninterruptible waiting can cause problems when cancelling tasks. For 
details, see https://github.com/apache/spark/pull/16866 / SPARK-19529, an older 
PR fixing a similar issue in this same `TransportClientFactory.createClient()` 
method.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Existing tests.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.
   


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