-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-38717][runtime] Display the load status of TaskManagers. #27291
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?
Conversation
be7fecf to
ccad127
Compare
|
Hi, @ferenc-csaky Could you help take a look ? Thank you ! |
7e0f3b2 to
05a7878
Compare
ferenc-csaky
left a comment
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.
I think assignedTasks instead of numberOfTasks would cover better what this field is intended for.
I do not see why do we need to use LoadingWeight for this. It feels forced to me, and I maybe I miss something, but I also feel it complicates this change for nothing.
| <th [nzSortFn]="sortHeartBeatFn" [nzWidth]="'160px'">Last Heartbeat</th> | ||
| <th [nzSortFn]="sortSlotsNumberFn" [nzWidth]="'90px'">All Slots</th> | ||
| <th [nzSortFn]="sortFreeSlotsFn" [nzWidth]="'100px'">Free Slots</th> | ||
| <th [nzSortFn]="sortTasksFn" [nzWidth]="'100px'">Tasks</th> |
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.
I'd probably use Assigned Tasks as the table header too. Same for the other components.
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.
Thx! The suggested change would be done after a stable conclusion about the discussion.
Thank you @ferenc-csaky for the comments. Pls let me have a try on clarifying it: Initially, I did not use Why I switched to
Both approaches are acceptable to me. If you believe that, for the current change, adhering to the minimal change principle should take priority, I'd be happy to revise the implementation accordingly. |
|
Hi @ferenc-csaky May I know your next suggestions or opinion if you had the free time ? |
…the detailed TaskManager page.
05a7878 to
bd645fb
Compare
What is the purpose of the change
Brief change log
Verifying this change
This change added tests and can be verified as follows:
org.apache.flink.runtime.resourcemanager.ResourceManagerTaskExecutorTest#testRequestTaskManagerDetailsInfo
integration test result:
Does this pull request potentially affect one of the following parts:
@Public(Evolving): (yes / no)Documentation