-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-51279][CONNECT] Avoid constant sleep for waiting Spark Connect…
… server in Scala ### What changes were proposed in this pull request? This PR proposes to address #50017 (comment) by avoiding constant sleep but waiting until the log file is created by the local Spark Connect server. ### Why are the changes needed? To make it robust. ### Does this PR introduce _any_ user-facing change? Maybe they won't see retrying logs anymore. ### How was this patch tested? Manually tested via `./bin/spark-shell --remote local` ### Was this patch authored or co-authored using generative AI tooling? No. Closes #50039 from HyukjinKwon/avoid-sleep. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org> (cherry picked from commit 666f45d) Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
- Loading branch information
1 parent
e4cfb64
commit 87b2ed7
Showing
1 changed file
with
54 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters