roryqi opened a new issue, #12357: URL: https://github.com/apache/gravitino/issues/12357
### Version main branch ### Describe what is wrong The Iceberg Aliyun bundle includes the Gravitino Aliyun credential providers, which bring Jackson dependencies into the generated fat jar. These Jackson classes are currently packaged without relocation and can leak onto the server classpath, conflicting with the Jackson version resolved by the Iceberg REST server. Jackson should be relocated to an internal namespace in the Iceberg Aliyun bundle. ### Error message and/or stacktrace The exact linkage error depends on the Jackson version resolved by the server. The bundle currently contains unshaded entries under `com/fasterxml/jackson`. ### How to reproduce 1. Build the Iceberg Aliyun bundle from the main branch: `./gradlew :bundles:iceberg-aliyun-bundle:shadowJar`. 2. Inspect the generated jar. 3. Observe Jackson classes under `com/fasterxml/jackson` in the bundle. ### Additional context The OSS Iceberg AWS bundle does not currently have this issue because it does not include `:bundles:aws`, while the Iceberg Aliyun bundle includes `:bundles:aliyun`, which brings Jackson dependencies into the fat jar. -- 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]
