sarvekshayr opened a new pull request, #6975: URL: https://github.com/apache/ozone/pull/6975
## What changes were proposed in this pull request? Added `-Dorg.apache.ratis.thirdparty.io.netty.tryReflectionSetAccessible=true` to the ozone script to allow Netty unsafe memory allocation and avoid the zeroing cost for Java 9+. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10382 ## How was this patch tested? Tested the patch in docker by changing the Java version. ``` recon-1 | Java version string: openjdk version "17.0.2" 2022-01-18 recon-1 | OpenJDK Runtime Environment (build 17.0.2+8-86) recon-1 | OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing) recon-1 | Java major version: 17 recon-1 | NETTY_OPTS: -Dorg.apache.ratis.thirdparty.io.netty.tryReflectionSetAccessible=true ``` -- 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]
