HBASE-27195 Clean up netty worker/thread pool configuration#4619
HBASE-27195 Clean up netty worker/thread pool configuration#4619apurtell merged 2 commits intoapache:masterfrom
Conversation
|
🎊 +1 overall
This message was automatically generated. |
| channelClass = NioServerSocketChannel.class; | ||
| // Get the event loop group configuration from the server class if available. | ||
| NettyEventLoopGroupConfig config = null; | ||
| if (server != null) { |
There was a problem hiding this comment.
Still better to check whether server is an instance of HBaseServerBase? Or at least add a comment to say for now, if we pass a non-null server then it must be HBaseServerBase(or HRegionServer for branch-2.x). Otherwise other developers may be confused on this direct cast.
There was a problem hiding this comment.
I will add the comment, sounds good.
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
The test failure is related, let me check it. [org.apache.hadoop.hbase.security.token.TestTokenAuthentication.testTokenCreation[1: rpcServerImpl=org.apache.hadoop.hbase.ipc.NettyRpcServer]](https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4619/1/testReport/org.apache.hadoop.hbase.security.token/TestTokenAuthentication |
The configuration settings "hbase.netty.worker.count" and "hbase.netty.eventloop.rpcserver.thread.count" appear to duplicate each other. Also, formalizes another setting found in NettyEventLoopGroupConfig, "hbase.netty.nativetransport". Also, native epoll is not limited to amd64. aarch64 supports it too.
|
Rebased. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
The configuration settings "hbase.netty.worker.count" and "hbase.netty.eventloop.rpcserver.thread.count" appear to duplicate each other. Also, formalizes another setting found in NettyEventLoopGroupConfig, "hbase.netty.nativetransport". Also, native epoll is not limited to amd64. aarch64 supports it too. Signed-off-by: Duo Zhang <zhangduo@apache.org> Conflicts: hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcServer.java
The configuration settings "hbase.netty.worker.count" and "hbase.netty.eventloop.rpcserver.thread.count" appear to duplicate each other. Also, formalizes another setting found in NettyEventLoopGroupConfig, "hbase.netty.nativetransport". Also, native epoll is not limited to amd64. aarch64 supports it too. Signed-off-by: Duo Zhang <zhangduo@apache.org> Conflicts: hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcServer.java
The configuration settings "hbase.netty.worker.count" and "hbase.netty.eventloop.rpcserver.thread.count" appear to duplicate each other.
Also, formalizes another setting found in
NettyEventLoopGroupConfig, "hbase.netty.nativetransport".Also, native epoll is not limited to amd64. aarch64 supports it too.