Skip to content

Fix log monitor process check for process liveness#5655

Merged
robertnishihara merged 1 commit intoray-project:masterfrom
pcmoritz:fix-log-monitor-raylet
Sep 7, 2019
Merged

Fix log monitor process check for process liveness#5655
robertnishihara merged 1 commit intoray-project:masterfrom
pcmoritz:fix-log-monitor-raylet

Conversation

@pcmoritz
Copy link
Copy Markdown
Contributor

@pcmoritz pcmoritz commented Sep 7, 2019

Why are these changes needed?

Related issue number

#5649

Checks

@AmplabJenkins
Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/16868/
Test PASSed.

@robertnishihara
Copy link
Copy Markdown
Collaborator

This will be a bit brittle if/when we have the log/monitor track stdout/stderr for more processes, so I see this breaking again in the future. Any suggestions for how to address that?

@pcmoritz
Copy link
Copy Markdown
Contributor Author

pcmoritz commented Sep 7, 2019

The root problem here is that worker_pid should be a pid and not a string. We could just always print the PID at the beginning of logfiles and have the raylet also do that. I created an issue here: #5657

@robertnishihara robertnishihara merged commit d0125d4 into ray-project:master Sep 7, 2019
@robertnishihara robertnishihara deleted the fix-log-monitor-raylet branch September 7, 2019 22:51
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.

3 participants