[CELEBORN-1317] Refine celeborn http server and support swagger ui#2371
[CELEBORN-1317] Refine celeborn http server and support swagger ui#2371turboFei wants to merge 1 commit intoapache:mainfrom
Conversation
dee7aa1 to
ba14b9d
Compare
bd6b76c to
6a06770
Compare
557a55c to
c0313ec
Compare
|
cc @RexXiong |
service/src/main/scala/org/apache/celeborn/server/common/HttpService.scala
Show resolved
Hide resolved
|
have made a self check.
|
|
thanks @cfmcgrady addressed |
waitinfuture
left a comment
There was a problem hiding this comment.
Went over this, generally LGTM, thanks! cc @AngersZhuuuu
| jackson-annotations/2.15.3//jackson-annotations-2.15.3.jar | ||
| jackson-core/2.15.3//jackson-core-2.15.3.jar | ||
| jackson-databind/2.15.3//jackson-databind-2.15.3.jar | ||
| jackson-dataformat-yaml/2.13.2//jackson-dataformat-yaml-2.13.2.jar |
There was a problem hiding this comment.
Lot of new dependencies added, are all of these required?
There was a problem hiding this comment.
Seems there is some bug for maven dependencies
There was a problem hiding this comment.
For a dependency with test scope, it will copy the sub dependencies of that test dependency.
| <exclusion> | ||
| <groupId>jakarta.activation</groupId> | ||
| <artifactId>jakarta.activation-api</artifactId> | ||
| </exclusion> |
There was a problem hiding this comment.
FYI:
@waitinfuture @pan3793
8d715ff
I exclude jakarta.activation-api from the test scope dependency jersey-test-framework-core.
Then the jakarta.activation-api disappear from dependencies-server.
It does not make senses, right?
There was a problem hiding this comment.
but the finally dependencyList of maven and sbt are the same.
There was a problem hiding this comment.
I checked the existing dependencies involved in this pr, all of them appear in the kyuubi dependency list.
So, I think the dependencies looks fine.
add swagger base resource align master api save saev format remove unused licenese format deps exclude save dep fix dep build save fix refine dep worker deps fix remove docs stop http service remove unused master retry remove jetty from mr description refine Revert "master retry" This reverts commit 94a760f. Revert "remove jetty from mr" This reverts commit bfcbf0b. fix dep more ut remove unused shutdown hook revert unused docs typo Revert "revert unused" This reverts commit 4fe53c6. refine deps fix dep mr fix worker metrics fix scala 2.13 move to service module fix dep fix deps add license Jetty UI (#3) Using static resource from swagger-ui jar remove files dep exclude jakarta.activation-api exclude
RexXiong
left a comment
There was a problem hiding this comment.
LGTM, thanks, PTAL @SteNicholas @cfmcgrady
|
https://github.com/apache/celeborn/actions/runs/8447675312/job/23138413282?pr=2371 |
I will rerun those jobs. |
|
Thanks, merge to main(v0.5.0) |
|
thanks all |
…ange since 0.5.0 ### What changes were proposed in this pull request? Add migration doc for RESTful api change for celeborn 0.5.0. ### Why are the changes needed? There was a typo in #2371, the `/shuffles` api was renamed to `/shuffle`. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? GA. Closes #2960 from turboFei/shuffles_api. Authored-by: Wang, Fei <fwang12@ebay.com> Signed-off-by: SteNicholas <programgeek@163.com>

What changes were proposed in this pull request?
Before, there is no http request spec likes query param, http method and response mediaType.
And for each api, a HttpEndpoint class is needed.
In this PR, we refine the code for http service and provide swagger ui.
Note that: This pr does not change the orignal api request and response behavior, including metrics APIs.
TODO:
Why are the changes needed?
To close CELEBORN-1317
Does this PR introduce any user-facing change?
The api is align with before.
How was this patch tested?
UT.