LuciferYang opened a new pull request #35835: URL: https://github.com/apache/spark/pull/35835
### What changes were proposed in this pull request? This pr aims to upgrade netty to 4.1.75 and this pr add the explicit dependency on `netty-tcnative-classes` because the dependency on `netty-tcnative-classes` is changed to `Optional` in [netty](https://github.com/netty/netty/pull/12146). ### Why are the changes needed? The release notes as follows: - https://netty.io/news/2022/03/10/4-1-75-Final.html There are 2 import changes in this version and both of these changes are to reduce memory-overhead: - [Reduce the default PooledByteBufAllocator chunk size from 16 MiB to 4 MiB](https://github.com/netty/netty/pull/12108) - [Change default of io.netty.allocator.useCacheForAllThreads to false](https://github.com/netty/netty/pull/12109) ### Does this PR introduce _any_ user-facing change? Yes, If the user wants to maintain the same behavior as the previous version, the user needs to make the following configuration: - add `-Dio.netty.allocator.useCacheForAllThreads=true` to enable `useCacheForAllThreads ` - add `-Dio.netty.allocator.maxOrder=11` to keep the chunk size of `PooledByteBufAllocator` to 16m ### How was this patch tested? Pass GA -- 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]
