-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Improve error messages when nodes can't communicate with each other. #223
Conversation
d95e111
to
dd91df5
Compare
dd91df5
to
642423b
Compare
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.
nit
@@ -674,7 +674,9 @@ def get_address_info_from_redis(redis_address, node_ip_address, num_retries=5): | |||
if counter == num_retries: | |||
raise | |||
# Some of the information may not be in Redis yet, so wait a little bit. | |||
print("Some processes that the driver needs to connect to have not registered with Redis, so retrying.") | |||
print("Some processes that the driver needs to connect to have not " | |||
"registered with Redis, so retrying. Have you 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.
should this be placed outside the for loop?
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.
specifically the last part "have you tried..."
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.
I addressed this comment, but now I'm concerned that the user won't see the message telling them to run scripts/start_ray.sh
... seeing the message multiple times is annoying, but this way might be worse.
5b35f9a
to
642423b
Compare
Added printing for user to understand what the program is doing when nodes can't communicate.