-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Add more context on logs 3 files #52472
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
base: master
Are you sure you want to change the base?
Add more context on logs 3 files #52472
Conversation
Signed-off-by: fscnick <[email protected]>
Signed-off-by: fscnick <[email protected]>
@kevin85421 PTAL |
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.
can you add screenshots for these logs?
src/ray/core_worker/context.cc
Outdated
@@ -450,7 +450,7 @@ ObjectID WorkerContext::GetGeneratorReturnId(const TaskID &task_id, | |||
// return values. | |||
auto max_generator_returns = GetThreadContext().GetMaxNumGeneratorReturnIndex(); | |||
if (put_index > max_generator_returns) { | |||
RAY_LOG(FATAL) | |||
RAY_LOG(FATAL).WithField("task_id", current_task_id) |
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.
why do we need "task_id"?
Signed-off-by: fscnick <[email protected]>
Hi @kevin85421 , I have updated screenshots in the description. |
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.
Please ping me when all CI tests pass.
…on-logs-3-files Signed-off-by: fscnick <[email protected]>
Hi @kevin85421, the CI has passed. |
Why are these changes needed?
To benefit the log parsing, add more context on logs.
This PR addresses the following files in #52468.
screenshots:



actor_manager.cc
common.cc

context.cc

Related issue number
Closes #52469
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.