hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r892653 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HTableDescriptor.java
Date Sun, 20 Dec 2009 20:11:42 GMT
Author: jdcryans
Date: Sun Dec 20 20:11:42 2009
New Revision: 892653

URL: http://svn.apache.org/viewvc?rev=892653&view=rev
Log:
HBASE-2054 memstore size 0 is >= than blocking -2.0g size

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HTableDescriptor.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HTableDescriptor.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HTableDescriptor.java?rev=892653&r1=892652&r2=892653&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HTableDescriptor.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HTableDescriptor.java Sun Dec 20 20:11:42
2009
@@ -424,7 +424,7 @@
   public long getMemStoreFlushSize() {
     byte [] value = getValue(MEMSTORE_FLUSHSIZE_KEY);
     if (value != null)
-      return Integer.valueOf(Bytes.toString(value)).intValue();
+      return Long.valueOf(Bytes.toString(value)).longValue();
     return DEFAULT_MEMSTORE_FLUSH_SIZE;
   }
   



Mime
View raw message