[ https://issues.apache.org/jira/browse/HBASE-18442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16136398#comment-16136398 ]
ramkrishna.s.vasudevan commented on HBASE-18442: ------------------------------------------------ bq.throw new RuntimeException(e); I just thought instead of throwing the checked exception then the caller also needs to be changed - its better we throw a RTE. Anyway this is only during the startup. > Speed up Memstore chunk pool ByteBuffer allocations > --------------------------------------------------- > > Key: HBASE-18442 > URL: https://issues.apache.org/jira/browse/HBASE-18442 > Project: HBase > Issue Type: Improvement > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 2.0.0 > > Attachments: HBASE-18442_1.patch, HBASE-18442_2.patch, > HBASE-18442_3.patch > > > Like in HBASE-17738 we can speed up the allocation of memstore chunk pool's > ByteBuffers. {code} > 2017-07-24 17:51:09,726 INFO [regionserver/stobdtserver6/10.66.254.41:16020] > regionserver.ChunkCreator: Allocating MemStoreChunkPool with chunk size 2 MB, > max count 12288, initial count 12288 > 2017-07-24 17:51:19,642 INFO [regionserver/stobdtserver6/10.66.254.41:16020] > regionserver.HRegionServer: Serving as stobdtserver6,16020,1500898858958, > RpcServer on stobdtserver6/10.66.254.41:16020, sessionid=0x15d748a9ccc0002 > {code} > Allocating 12288 buffers of 2MB size takes around 10 secs. -- This message was sent by Atlassian JIRA (v6.4.14#64029)