You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What changes were proposed in this pull request?
Split IcebergRESTService into one separate module, it could be managed
with or without Gravitino server.
#### For user
1. provide an isolated Iceberg REST server package or Gravitino package
with directory `iceberg-rest-server` which contains Iceberg REST server.
They both contain isolated config files and start&stop script.
2. The configuration items start with `gravitino.iceberg-rest.` are
treated as Iceberg REST server configs. like
`gravitino.iceberg-rest.catalog-backend`,
`gravitino.iceberg-rest.httpPort`, etc. Configurations for Iceberg REST
server are same in isolated package and Gravitino package.
#### For developer
The core is `RESTService` which start JettyServer for Iceberg REST
server,
* For isolated Iceberg REST server module, the entrypoint is
`IcebergRESTServer` which provides configuration, metricsSystem for
`RESTService`.
* For GravitinoServer, `RESTService` is managed as a AuxiliaryService.
### Why are the changes needed?
Iceberg rest service is managed as an auxiliary service in Gravitino
server , for the users who want to use Iceberg REST service only, it
introduces an extra burden.
Fix: #2730
### Does this PR introduce _any_ user-facing change?
yes, will add document in #4113
### How was this patch tested?
1. existing tests
2. test in local env as a Iceberg REST server
### related docs
https://docs.google.com/document/d/1lyJwMaaJKfMqtnH9c7LwvnOHRKm7gh8Al4Sw3T1DFjM/edit
Describe the subtask
Deploy the iceberg rest service separately from the gravitino service.
The iceberg rest service can be managed independently, and this two services have no influence on each other.
Parent issue
#1571
The text was updated successfully, but these errors were encountered: