You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (Jira)" <ji...@apache.org> on 2019/10/23 04:41:00 UTC
[jira] [Updated] (HBASE-23196) The IndexChunkPool’s percentage is hard code to 0.1
[ https://issues.apache.org/jira/browse/HBASE-23196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anoop Sam John updated HBASE-23196:
-----------------------------------
Affects Version/s: 2.0.0
> The IndexChunkPool’s percentage is hard code to 0.1
> ---------------------------------------------------
>
> Key: HBASE-23196
> URL: https://issues.apache.org/jira/browse/HBASE-23196
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: chenxu
> Priority: Major
>
> Code in ChunkCreator#initialize
> {code:java}
> public static ChunkCreator initialize(...) {
> if (instance != null) {
> return instance;
> }
> instance = new ChunkCreator(chunkSize, offheap, globalMemStoreSize, poolSizePercentage,
> initialCountPercentage, heapMemoryManager,
> MemStoreLABImpl.INDEX_CHUNK_PERCENTAGE_DEFAULT);
> return instance;
> }
> {code}
> When mslab is enabled, the IndexChunkPool’s percentage is hard code to INDEX_CHUNK_PERCENTAGE_DEFAULT, When we use IndexType#ARRAY_MAP other than IndexType#CHUNK_MAP, we should set IndexChunkPool’s size to 0, or there will be a waste of memory space.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)