-
Notifications
You must be signed in to change notification settings - Fork 408
[CELEBORN-1601][FOLLOWUP] Refine the RESTful apis for revise lost shuffles #2892
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
Conversation
|
@turboFei, is there any tool that could verify the consistency between generated openapi-client code and rest api model? |
...c/main/scala/org/apache/celeborn/service/deploy/master/http/api/v1/ApplicationResource.scala
Outdated
Show resolved
Hide resolved
...c/main/scala/org/apache/celeborn/service/deploy/master/http/api/v1/ApplicationResource.scala
Show resolved
Hide resolved
5134b9b to
4e3bc70
Compare
Not yet now, maybe we can followup it to diff the generated RESTful modules in GA. Raised https://issues.apache.org/jira/browse/CELEBORN-1699 to track |
Addressed in #2893 |
|
Will move the ThreadStack part into #2893 Done. |
### What changes were proposed in this pull request? Check the consistency between openapi spec and generated openapi-client code in GA. Fix the ThreadStack model. ### Why are the changes needed? Address comments: #2892 (comment) Followup for #2888 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? GA. It works: https://github.com/apache/celeborn/actions/runs/11733693060/job/32688436233?pr=2893 <img width="1059" alt="image" src="https://github.com/user-attachments/assets/84682976-1b7d-42e0-9b62-2966f3e952d7"> After ThreadStack fixed: <img width="1368" alt="image" src="https://github.com/user-attachments/assets/14a2a08f-dbc2-409c-a4ed-fbfee82e50b5"> Closes #2893 from turboFei/diff_openapi. Authored-by: Wang, Fei <fwang12@ebay.com> Signed-off-by: SteNicholas <programgeek@163.com>
|
rebased the code. |
cli/src/main/scala/org/apache/celeborn/cli/master/MasterSubcommandImpl.scala
Outdated
Show resolved
Hide resolved
SteNicholas
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.
Only one minor comment.
FMX
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.
Thanks. A modernized HTTP API implementation. LGTM.
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.
👍 LGTM, merge to main(v0.6.0)
What changes were proposed in this pull request?
GET /api/v1/applications/deleteApps->DELETE /api/v1/applicationsGET /api/v1/applications/reviseLostShuffles->POST /api/v1/applications/revise_lost_shufflesWhy are the changes needed?
Followup for #2746
Does this PR introduce any user-facing change?
No, these APIs has not been released yet.
How was this patch tested?
GA.