[ 
https://issues.apache.org/jira/browse/HBASE-18307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang updated HBASE-18307:
------------------------------
    Attachment: HBASE-18307.patch

Create a NettyEventLoopGroupConfig for HRegionServer, and in NettyRpcServer it 
will get it from the Server instance passed in. Server is marked as 
IA.LimitedPrivate so I do not want to add the method to it as the method will 
leak the netty things out.

And for AsyncFSWAL, it is in another package and is not bound to a RS, so use 
the same way with NettyRpcClient to pass the EventLoopGroup to it.

Yeah it is possible that user modifies the default configs and refuses to use 
any netty related implementations and makes the EventLoopGroup stored in 
HRegionServer useless. But I think for performance it is OK? The threadx will 
be blocked on fetching tasks and not consume any CPUs. 

Thanks.

> Share the same EventLoopGroup for NettyRpcServer, NettyRpcClient and 
> AsyncFSWALProvider at RS side
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-18307
>                 URL: https://issues.apache.org/jira/browse/HBASE-18307
>             Project: HBase
>          Issue Type: Improvement
>          Components: io, rpc, wal
>    Affects Versions: 3.0.0, 2.0.0-alpha-1
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 3.0.0, 2.0.0-alpha-2
>
>         Attachments: HBASE-18307.patch
>
>
> Need a find a proper way to pass a EventLoopGroup instance through a 
> Configuration object.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to