[ 
https://issues.apache.org/jira/browse/HBASE-13989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14606784#comment-14606784
 ] 

Hudson commented on HBASE-13989:
--------------------------------

FAILURE: Integrated in HBase-1.2 #39 (See 
[https://builds.apache.org/job/HBase-1.2/39/])
HBASE-13989 Threshold for combined MemStore and BlockCache percentages is not 
checked (tedyu: rev 39de65d265ab635133c8e89a0ca31193e77111da)
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHeapMemoryManager.java
* 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HeapMemoryManager.java


> Threshold for combined MemStore and BlockCache percentages is not checked
> -------------------------------------------------------------------------
>
>                 Key: HBASE-13989
>                 URL: https://issues.apache.org/jira/browse/HBASE-13989
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 2.0.0, 1.0.2, 1.2.0, 1.1.2, 1.3.0
>
>         Attachments: 13989-v1.txt, 13989-v2.txt
>
>
> In HeapMemoryManager#doInit():
> {code}
>     globalMemStorePercentMinRange = conf.getFloat(MEMSTORE_SIZE_MIN_RANGE_KEY,
>         globalMemStorePercent);
>     globalMemStorePercentMaxRange = conf.getFloat(MEMSTORE_SIZE_MAX_RANGE_KEY,
>         globalMemStorePercent);
> ...
>     if (globalMemStorePercent == globalMemStorePercentMinRange
>         && globalMemStorePercent == globalMemStorePercentMaxRange) {
>       return false;
>     }
> {code}
> If memory tuning is not specified, globalMemStorePercentMinRange and 
> globalMemStorePercentMaxRange would carry the value of globalMemStorePercent.
> This would make doInit() exit before checking the threshold for combined 
> MemStore and BlockCache percentages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to