qqqttt123 opened a new pull request, #10377:
URL: https://github.com/apache/gravitino/pull/10377
### What changes were proposed in this pull request?
This PR refactors the Docker build process for Gravitino to avoid
duplicating Iceberg bundle jars. Changes include:
- Created a centralized `iceberg-bundles` directory to store Iceberg bundle
jars (GCP, AWS, Azure, Aliyun)
- Modified `gravitino-dependency.sh` to copy bundle jars to the centralized
directory instead of directly to REST server libs
- Updated `start-gravitino.sh` to create soft links from the
`iceberg-bundles` directory to both:
- `catalogs/lakehouse-iceberg/libs/`
- `iceberg-rest-server/libs/`
This approach reduces disk space usage and ensures both the Iceberg
lakehouse catalog and Iceberg REST server share the same bundle jar files.
### Why are the changes needed?
The previous approach copied Iceberg bundle jars directly to the REST server
libs, but the lakehouse-iceberg catalog also needs access to these bundles.
Instead of duplicating files, using soft links reduces disk space usage and
simplifies maintenance.
Fix: #9930
### Does this PR introduce _any_ user-facing change?
No. This is an internal Docker build optimization that doesn't affect
user-facing functionality.
### How was this patch tested?
Manual testing of Docker build and runtime behavior.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]