kevinjqliu opened a new pull request, #16214:
URL: https://github.com/apache/iceberg/pull/16214

   ## Changes
   
   - **Reduce shadow JAR from 201MB to 58MB** by excluding cloud-specific thin 
modules
     (iceberg-aws, iceberg-gcp, iceberg-azure, iceberg-bigquery) and JUnit 
dependencies
     from the shadow JAR.
   - **Load cloud bundles as separate JARs** via classpath (`-cp` instead of 
`-jar`) so
     they can be included/excluded independently.
   - **Fix `REST_PORT` env var** — renamed to `CATALOG_REST_PORT` so the server 
actually
     reads it through the `CATALOG_*` environment mapping.
   - **Update CI workflow** to build cloud bundle shadow JARs alongside the 
open-api JAR.
   
   ## Motivation
   
   The shadow JAR previously bundled all cloud provider SDKs (AWS, GCP, Azure) 
directly,
   making it unnecessarily large. Cloud bundles are already published as 
standalone JARs and
   can be loaded at runtime via the classpath, matching how they're consumed in 
Spark/Flink.
   
   ## Testing
   
   - Built shadow JAR and verified size reduction (201MB → 58MB)
   - Ran standalone JAR with `CATALOG_REST_PORT=8183` — server starts, serves 
`/v1/config`,
     creates/lists namespaces
   - Built and ran Docker image — healthcheck passes, full REST API functional
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to