Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#8761] Improvement: rewrite_config.py does not handle GRAVITINO_ICEBERG_REST_HTTP_PORT (#8762)

Shunki64d879a5b051
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.