This is an automated email from the ASF dual-hosted git repository.

fanng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new 64d879a5b0 [#8761] Improvement: rewrite_config.py does not handle 
GRAVITINO_ICEBERG_REST_HTTP_PORT (#8762)
64d879a5b0 is described below

commit 64d879a5b051d9be84f833341699286b0846d6d7
Author: Shunki <[email protected]>
AuthorDate: Fri Oct 10 20:49:26 2025 +0900

    [#8761] Improvement: rewrite_config.py does not handle 
GRAVITINO_ICEBERG_REST_HTTP_PORT (#8762)
    
    ### What changes were proposed in this pull request?
    rewrite_config.py should update the port field in the configuration when
    GRAVITINO_ICEBERG_REST_HTTP_PORT is set.
    
    ### Why are the changes needed?
    Because the HTTP port cannot currently be customized via the
    GRAVITINO_ICEBERG_REST_HTTP_PORT environment variable.
    
    Fix: #8761
    
    ### Does this PR introduce _any_ user-facing change?
    no
    
    ### How was this patch tested?
    UTs
---
 dev/docker/iceberg-rest-server/rewrite_config.py | 1 +
 docs/iceberg-rest-service.md                     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev/docker/iceberg-rest-server/rewrite_config.py 
b/dev/docker/iceberg-rest-server/rewrite_config.py
index 9171cbb118..45d8f2b54e 100755
--- a/dev/docker/iceberg-rest-server/rewrite_config.py
+++ b/dev/docker/iceberg-rest-server/rewrite_config.py
@@ -48,6 +48,7 @@ env_map = {
     "GRAVITINO_OSS_REGION": "oss-region",
     "GRAVITINO_OSS_ROLE_ARN": "oss-role-arn",
     "GRAVITINO_OSS_EXTERNAL_ID": "oss-external-id",
+    "GRAVITINO_ICEBERG_REST_HTTP_PORT": "httpPort",
 }
 
 init_config = {
diff --git a/docs/iceberg-rest-service.md b/docs/iceberg-rest-service.md
index 93240bd1c0..c6fe455436 100644
--- a/docs/iceberg-rest-service.md
+++ b/docs/iceberg-rest-service.md
@@ -611,6 +611,7 @@ Gravitino Iceberg REST server in docker image could access 
local storage by defa
 | `GRAVITINO_OSS_REGION`                 | `gravitino.iceberg-rest.oss-region` 
                | 0.8.0-incubating |
 | `GRAVITINO_OSS_ROLE_ARN`               | 
`gravitino.iceberg-rest.oss-role-arn`               | 0.8.0-incubating |
 | `GRAVITINO_OSS_EXTERNAL_ID`            | 
`gravitino.iceberg-rest.oss-external-id`            | 0.8.0-incubating |
+| `GRAVITINO_ICEBERG_REST_HTTP_PORT`     | `gravitino.iceberg-rest.httpPort`   
                | 1.1.0            |
 
 The below environment is deprecated, please use the corresponding 
configuration items instead.
 

Reply via email to