### What changes were proposed in this pull request? Support to adjust the logger level during runtime without restarting the server. ### Why are the changes needed? It is useful for debug, likes hadoop daemonlog command: https://hadoop.apache.org/docs/r3.4.1/hadoop-project-dist/hadoop-common/CommandsManual.html#daemonlog ### Does this PR introduce _any_ user-facing change? Yes, new RESTful api. ### How was this patch tested? GA. <img width="1430" alt="image" src="https://github.com/user-attachments/assets/9d974fd9-21f3-429a-a35f-e15662aa75ac" /> <img width="1428" alt="image" src="https://github.com/user-attachments/assets/ca32b596-12a1-4038-9e1b-4fdc6a377b54" /> <img width="1255" alt="image" src="https://github.com/user-attachments/assets/5c399a73-9f53-43a8-b337-5a79621abea4" /> <img width="1244" alt="image" src="https://github.com/user-attachments/assets/16dc9ede-01bb-4e38-80fe-acb044ae6cc7" /> Closes #3022 from turboFei/log_level. Lead-authored-by: Wang, Fei <fwang12@ebay.com> Co-authored-by: Fei Wang <cn.feiwang@gmail.com> Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| src/main | ||
| pom.xml | ||
| README.md | ||
Celeborn OpenAPI Client
Note: It is recommended to use under_score style naming for new RESTful APIs to maintain consistency.
To update the OpenAPI specification
- just update the specification under
openapi/openapi-client/src/main/openapi3/and keep the schema definitions consistent between master and worker. - Install JDK 11 or above by whatever mechanism is appropriate for your system, and set that version to be the default Java version (e.g., by setting env variable
JAVA_HOME) - run the following:
orbuild/mvn -pl openapi/openapi-client clean package -Pgenerate
This will regenerate the OpenAPI data models + APIs in the celeborn-openapi-client SDK.build/sbt "clean;celeborn-openapi-client/generate"