hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r681895 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Date Fri, 01 Aug 2008 23:09:30 GMT
Author: stack
Date: Fri Aug  1 16:09:30 2008
New Revision: 681895

URL: http://svn.apache.org/viewvc?rev=681895&view=rev
Log:
Fix mistake in last commit

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java?rev=681895&r1=681894&r2=681895&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java Fri Aug
 1 16:09:30 2008
@@ -503,7 +503,9 @@
                       HTableDescriptor.DEFAULT_MEMCACHE_FLUSH_SIZE);
     }
     this.memcacheFlushSize = flushSize;
-    this.blockingMemcacheSize = this.memcacheFlushSize * flushSize;
+
+    this.blockingMemcacheSize = this.memcacheFlushSize *
+      conf.getInt("hbase.hregion.memcache.block.multiplier", 1);
 
     // See if region is meant to run read-only.
     if (this.regionInfo.getTableDesc().isReadOnly()) {



Mime
View raw message