Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed Oct 29, 2024
1 parent 3cae4cd commit e130cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions dev/docker/iceberg-rest-server/rewrite_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ def update_config(config, key, value):
if k in os.environ:
update_config(config_map, v, os.environ[k])

# for key, value in config_map.items():
# print(f"{key}: {value}")

if os.path.exists(config_file_path):
os.remove(config_file_path)

Expand Down
4 changes: 2 additions & 2 deletions docs/iceberg-rest-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ You could run Gravitino Iceberg REST server though docker container:
docker run -d -p 9001:9001 apache/gravitino-iceberg-rest:0.7.0-incubating
```

Gravitino Iceberg REST server in docker image could access local fs by default, you could change the configuration by environment variables to access S3 and GCS storage.
Gravitino Iceberg REST server in docker image could access local storage, you could change the configuration by environment variables to access S3 or GCS storage, please refer to storage section for more details.

| Environment variables | Configuration items | Since version |
|--------------------------------------|---------------------------------------------------|-------------------|
Expand All @@ -409,7 +409,7 @@ Gravitino Iceberg REST server in docker image could access local fs by default,
Or build it manually to add custom configuration or logics:

```shell
sh ./dev/docker/build-docker.sh --platform linux/arm64 --type iceberg-rest-server --image apache/gravitino-iceberg-rest --tag 0.6.0
sh ./dev/docker/build-docker.sh --platform linux/arm64 --type iceberg-rest-server --image apache/gravitino-iceberg-rest --tag 0.7.0-incubating
```

You could try Spark with Gravitino REST catalog service in our [playground](./how-to-use-the-playground.md#using-apache-iceberg-rest-service).

0 comments on commit e130cda

Please sign in to comment.