geyanggang opened a new issue, #15126:
URL: https://github.com/apache/gravitino/issues/15126

   ### What would you like to be improved?
   Routine dependency maintenance. The `aws-bundle` jar relocates a mix of 
Netty releases:
   - The unrelocated Netty 4.1.86.Final copy embedded in `aws-java-sdk-bundle` 
(AWS SDK for Java v1, brought in by `hadoop-aws`) is merged with the standalone 
Netty 4.1.118.Final jars brought in by the AWS SDK v2 (`netty-nio-client`). 
Classes and metadata of both releases end up in the bundle (for example 
`netty-codec-http2` is 4.1.118 while `netty-handler` is 4.1.86).
   - Both are older than the current patch release of the 4.1.x line, 
4.1.140.Final.
   
   ### How should we improve?
   - Apply `netty-bom` 4.1.140.Final in a dedicated, non-consumable 
configuration of `bundles/aws-bundle`, so all standalone Netty artifacts move 
together and nothing leaks to dependent modules.
   - Strip the embedded Netty copy from `aws-java-sdk-bundle` with an artifact 
transform, so the bundle contains a single Netty release. A dependency 
constraint cannot replace classes inside another jar.
   - Add a bundle test that checks Netty is relocated and has one version.
   - Remove the matching entries from `.github/trivy/trivyignore.yaml`.
   


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

Reply via email to