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-1750] Return struct worker resource consumption information with RESTful api #2955

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

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Nov 27, 2024

What changes were proposed in this pull request?

As title

Why are the changes needed?

This information is useful for the automation tool integration.

For our automation tool, it query all the worker status periodically by calling master /api/v1/worker.

In decommission process, when the worker is in IDLE state, we need to check whether there is still unreleased shuffle data on this worker so that we can shutdown this node without user impaction.

Before, I have to call the worker /ap1/v1/shuffles to check that.

It is better that we can get all the information from celeborn master end, because master is HA enabled and always reachable.

So in this PR, it returns the struct resource consumption for automation tool integration.

Does this PR introduce any user-facing change?

No, this RESTful api has not been released.

How was this patch tested?

GA.

@turboFei turboFei changed the title Return struct worker resource consumption information [CELEBORN-1750] Return struct worker resource consumption information with RESTful api Nov 27, 2024
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.

2 participants