-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Remove the '--include-java' option #10594
Remove the '--include-java' option #10594
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.
LGTM
fd1eef7
to
a16580b
Compare
@@ -1345,6 +1323,26 @@ def start_raylet(redis_address, | |||
|
|||
gcs_ip_address, gcs_port = redis_address.split(":") | |||
|
|||
has_java_command = False | |||
try: | |||
java_proc = subprocess.run( |
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.
Will this command output be printed to console?
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.
No. subprocess.PIPE
means capturing the output.
Why are these changes needed?
We can detect if Java is installed automatically.
Changes:
--include-java
option and detect Java environment automatically.We need to disable initial workers for Java, otherwise, initial Java workers will be spawned and Python users may be confused.
Related issue number
Closes #10434
Checks
scripts/format.sh
to lint the changes in this PR.