SteNicholas commented on code in PR #2618:
URL: https://github.com/apache/celeborn/pull/2618#discussion_r1678701156
##########
docs/migration.md:
##########
@@ -21,6 +21,53 @@ license: |
# Migration Guide
+# Upgrading from 0.5 to 0.6
+-
+- Since 0.6.0, Celeborn has introduced a new RESTful API namespace: /api/v1,
which uses the application/json media type for requests and responses.
+ The `celeborn-openapi-client` SDK is also available to help users interact
with the new RESTful APIs.
+ The legacy RESTful APIs have been deprecated and will be removed in future
releases.
+ Access the full [RESTful API documentation](./webapi.md) for detailed
information.
+
+ - The mappings of the old RESTful APIs to the new RESTful APIs for Master.
+
+ | Old RESTful API | New RESTful API |
Note |
+
|--------------------------|------------------------------------------|--------------------------------------------------|
+ | GET /conf | GET /api/v1/conf |
|
+ | GET /listDynamicConfigs | GET /api/v1/conf/dynamic |
|
+ | GET /threadDump | GET /api/v1/conf/thread_dump |
|
+ | GET /applications | GET /api/v1/applications |
|
+ | GET /listTopDiskUsedApps | GET /api/v1/applications/top_disk_usages |
|
+ | GET /hostnames | GET /api/v1/applications/hostnames |
|
+ | GET /shuffle | GET /api/v1/shuffles |
|
+ | GET /masterGroupInfo | GET /api/v1/masters |
|
+ | GET /workerInfo | GET /api/v1/workers |
|
+ | GET /lostWorkers | GET /api/v1/workers |
get the lostWorkers field in response |
+ | GET /excludedWorkers | GET /api/v1/workers |
get the excludedWorkers field in response |
+ | GET /shutdownWorkers | GET /api/v1/workers |
get the shutdownWorkers filed in response |
+ | GET /decommissionWorkers | GET /api/v1/workers |
get the decommissioningWorkers filed in response |
+ | POST /exclude | POST /api/v1/workers/exclude |
|
+ | GET /workerEventInfo | GET /api/v1/workers/events |
|
+ | POST /sendWorkerEvent | POST /api/v1/workers/events |
|
Review Comment:
The users only check the details in document, not in idea. Right?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]