Skip to content
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

Merged
merged 3 commits into from
Jan 22, 2017

Conversation

richardliaw
Copy link
Contributor

@richardliaw richardliaw commented Jan 20, 2017

Added printing for user to understand what the program is doing when nodes can't communicate.

@robertnishihara robertnishihara changed the title [RAY-398] Good error messages when nodes can't communicate with each other Good error messages when nodes can't communicate with each other Jan 22, 2017
@robertnishihara robertnishihara changed the title Good error messages when nodes can't communicate with each other Improve error messages when nodes can't communicate with each other. Jan 22, 2017
Copy link
Contributor Author

@richardliaw richardliaw left a 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 "
Copy link
Contributor Author

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?

Copy link
Contributor Author

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

Copy link
Collaborator

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.

@pcmoritz pcmoritz merged commit 4575cd8 into ray-project:master Jan 22, 2017
@pcmoritz pcmoritz deleted the fixes branch January 22, 2017 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants