LuciferYang opened a new pull request #35847:
URL: https://github.com/apache/spark/pull/35847


   ### What changes were proposed in this pull request?
   Spark use `SocketChannel` as generic type for defining `ChannelInitializer` 
when configuring `childHandler` for `BootStrap`, but there is no need to limit 
the generic type to `SocketChannel`, so this pr change the  generic type from 
`SocketChannel` to `Channel`.
   
   On the other hand, the current pr ensures all `channelClass` used to 
configure `BootStrap.channel` in Spark code  P、produced by 
`NettyUtils.getServer/ClientChannelClass`.
   
   
   ### Why are the changes needed?
   Use More Generic Interfaces initialize Netty `BootStrap`.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### 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]

Reply via email to