adoroszlai opened a new pull request, #9052: URL: https://github.com/apache/ozone/pull/9052
## What changes were proposed in this pull request? Ozone and Ratis both depend on Netty, possibly different versions. Ratis shades Netty, so version mismatch should not cause any problems. However, HDDS-12462 changed usage of Netty native libraries in Ozone FS Shaded jars, adding libs from Ozone-specific version of Netty for Ratis. This causes runtime error if Netty in Ozone is ahead of the one in Ratis, e.g. if Ozone FileSystem fat jar is used in secure environment: ``` NoSuchMethodError: Method org.apache.ozone.shaded.org.apache.ratis.thirdparty.io.netty.internal.tcnative.SSL.setCurvesList0(JLjava/lang/String;)Z name or signature does not match ``` With this PR, we add both sets of native libraries to the shaded jar. https://issues.apache.org/jira/browse/HDDS-13699 ## How was this patch tested? Reproduced the problem by upgrading Netty only in Ozone, but not in Ratis: https://github.com/adoroszlai/ozone/actions/runs/17860737460 Same setup passes with the fix: https://github.com/adoroszlai/ozone/actions/runs/17860948466 Regular CI: https://github.com/adoroszlai/ozone/actions/runs/17860959201 -- 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]
