New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-47040][CONNECT] Allow Spark Connect Server Script to wait #45090
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM.
could it be achieved by the following command?
|
Oh, right. Does it work in the same with this? |
If then, we need to revert this. Could you confirm that the above works for you, @grundprinzip ? |
I will not revert the patch because it has significantly better developer ergonomics over obscure environment variables. I created a PR to use the env variable instead of calling spark-submit directly. |
I would recommend removing @grundprinzip There are several server components in Spark, like Thrift Server, History Server, Master, Worker, only adding |
@pan3793 's point makes sense to me in terms of the consistency inside Apache Spark. How do you think about that, @grundprinzip ? |
What changes were proposed in this pull request?
Add an option to the command line of
./sbin/start-connect-server.sh
that leaves it running in the foreground for easier debugging.Why are the changes needed?
Usability
Does this PR introduce any user-facing change?
How was this patch tested?
Manual
Was this patch authored or co-authored using generative AI tooling?
No