[
https://issues.apache.org/jira/browse/HBASE-18294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245388#comment-16245388
]
Eshcar Hillel commented on HBASE-18294:
---------------------------------------
bq. How would the off-heap threshold be determined ?
This is a good question.
As far as I seen a threshold is already defined at the RS level.
I would need to install some threshold also at the region level. I am open to
suggestions.
This is the reason for having 3 items instead of 2. I would like to be able to
compare two counters against two threshold, where the counters represent the
size in byte of key-values plus any metadata allocated on-heap and off-heap
respectively.
> Flush is based on data size instead of heap size
> ------------------------------------------------
>
> Key: HBASE-18294
> URL: https://issues.apache.org/jira/browse/HBASE-18294
> Project: HBase
> Issue Type: Bug
> Reporter: Eshcar Hillel
> Assignee: Eshcar Hillel
>
> A region is flushed if its memory component exceed a threshold (default size
> is 128MB).
> A flush policy decides whether to flush a store by comparing the size of the
> store to another threshold (that can be configured with
> hbase.hregion.percolumnfamilyflush.size.lower.bound).
> Currently the implementation (in both cases) compares the data size
> (key-value only) to the threshold where it should compare the heap size
> (which includes index size, and metadata).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)