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

[CELEBORN-1812] Distinguish sorting-file from sort-tasks waiting to be submitted. #3040

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Z1Wu
Copy link

@Z1Wu Z1Wu commented Dec 30, 2024

What changes were proposed in this pull request?

Current implementation uses shuffleSortTaskDeque.size() as current sorting file count.This value might be more appropriately described as the sort tasks waiting to be submitted to fileSorterExecutors. And the actual current sorting file number ( doing some disk-io operation etc) should be get from sortingShuffleFiles.

Why are the changes needed?

Add metrics to monitor current sorting files which is making disk-io operations.

Does this PR introduce any user-facing change?

No

How was this patch tested?

image

Copy link
Contributor

@FMX FMX left a comment

Choose a reason for hiding this comment

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

LGTM overall. The new metric should be added to the grafana dashboard. You can change the main branch's grafana asset file.

Copy link
Contributor

@RexXiong RexXiong left a comment

Choose a reason for hiding this comment

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

LGTM, except a nit

@@ -9382,568 +9382,666 @@
"type": "row"
},
{
"collapsed": true,
"collapsed": false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should keep collapsed as true

Copy link
Author

Choose a reason for hiding this comment

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

fixed ~

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.

4 participants