anoopsjohn commented on a change in pull request #301: HBASE-22547 Document for offheap read in HBase Book URL: https://github.com/apache/hbase/pull/301#discussion_r295699007
########## File path: hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBuffAllocator.java ########## @@ -68,10 +68,18 @@ // default heap allocator, it will just allocate ByteBuffers from heap but wrapped by an ByteBuff. public static final ByteBuffAllocator HEAP = ByteBuffAllocator.createOnHeap(); + public static final String ALLOCATOR_ENABLED_KEY = "hbase.server.allocator.enabled"; Review comment: We should call it some way which can clear say if this is enabled, it is pooled stuff what we use. Anyways allocator will always be there in RS. It might be HEAP one. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
