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

Nick Dimiduk commented on HBASE-13865:
--------------------------------------

{noformat}
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
@@ -744,7 +744,8 @@ public class HRegion implements HeapSize, 
PropagatingConfigurationObserver, Regi
     }
     this.memstoreFlushSize = flushSize;
     this.blockingMemStoreSize = this.memstoreFlushSize *
-        conf.getLong("hbase.hregion.memstore.block.multiplier", 2);
+        conf.getLong(HConstants.HREGION_MEMSTORE_BLOCK_MULTIPLIER,
+                HConstants.DEFAULT_HREGION_MEMSTORE_BLOCK_MULTIPLIER);
   }
 
   /**
{noformat}

It looks like HBASE-11209 didn't get everywhere, or this change to HRegion was 
intentionally omitted.

Assuming that's a bug, +1.

> Default value of hbase.hregion.memstore.block.multiplier in HBase book is 
> wrong
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-13865
>                 URL: https://issues.apache.org/jira/browse/HBASE-13865
>             Project: HBase
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.0.0
>            Reporter: Vladimir Rodionov
>            Assignee: Gabor Liptak
>            Priority: Trivial
>         Attachments: HBASE-13865.1.patch, HBASE-13865.2.patch, 
> HBASE-13865.2.patch
>
>
> Its 4 in the book and 2 in a current master. 



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

Reply via email to