Andrew Kyle Purtell created HBASE-27111:
-------------------------------------------
Summary: Make Netty channel bytebuf allocator configurable
Key: HBASE-27111
URL: https://issues.apache.org/jira/browse/HBASE-27111
Project: HBase
Issue Type: Sub-task
Affects Versions: 2.5.0
Reporter: Andrew Kyle Purtell
Assignee: Andrew Kyle Purtell
Fix For: 2.5.0, 3.0.0-alpha-3
Netty supports different strategies for allocating byte buffers for IO and
channel modules. We do not allow the site operator to fine tune this but could.
It would be particularly useful to allow preference of heap buffers where
direct memory may be limited or utilized for other purposes.
Support site configuration of the bytebuf allocator that Netty will use for
NettyRpcServer channels. Property name is 'hbase.netty.rpcserver.allocator'.
Default is no value, which is equivalent to "pooled". Valid values are:
- "pooled": use PooledByteBufAllocator
- "unpooled": use UnpooledByteBufAllocator
- "heap": use HeapByteBufAllocator, which is a PooledByteBufAllocator that
preferentially allocates buffers on heap wherever possible
--
This message was sent by Atlassian Jira
(v8.20.7#820007)