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

Clean up allocation and supervisor logs for easier debugging #16535

Merged
merged 5 commits into from
Jun 3, 2024

Conversation

kfaraz
Copy link
Contributor

@kfaraz kfaraz commented Jun 2, 2024

Changes

  • Use string taskGroup consistently to easily search for a task group
  • Clean up other logs
  • No change in any logic

@kfaraz
Copy link
Contributor Author

kfaraz commented Jun 3, 2024

Thanks for the quick review, @AmatyaAvadhanula !

.mapToInt(List::size).sum();
if (numPendingCompletionTaskGroups + numStoppedTasks.get() < ioConfig.getMaxAllowedStops()) {
log.info(
"Stopping taskGroup[%d] as it has already run for duration[%s], configured task duration[%s].",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Units required here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, units are not required since the object being printed is a duration and would be formatted something like PT1800S, etc.

Co-authored-by: Vishesh Garg <vishesh.garg@imply.io>
@kfaraz kfaraz requested a review from gargvishesh June 3, 2024 06:11
@kfaraz
Copy link
Contributor Author

kfaraz commented Jun 3, 2024

Thanks for the review, @gargvishesh !

@kfaraz kfaraz merged commit 1974a38 into apache:master Jun 3, 2024
87 checks passed
@kfaraz kfaraz deleted the cleanup_logs branch June 3, 2024 11:14
@kfaraz kfaraz added this to the 31.0.0 milestone Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants