hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r766738 - in /hadoop/hbase/trunk: CHANGES.txt conf/hbase-default.xml src/java/org/apache/hadoop/hbase/client/HTable.java
Date Mon, 20 Apr 2009 16:04:37 GMT
Author: jdcryans
Date: Mon Apr 20 16:04:36 2009
New Revision: 766738

URL: http://svn.apache.org/viewvc?rev=766738&view=rev
Log:
HBASE-1331 Lower the default scanner caching value

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/conf/hbase-default.xml
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=766738&r1=766737&r2=766738&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Mon Apr 20 16:04:36 2009
@@ -143,6 +143,7 @@
    HBASE-1205  RegionServers should find new master when a new master comes up
                (Nitay Joffe via Andrew Purtell)
    HBASE-1309  HFile rejects key in Memcache with empty value
+   HBASE-1331  Lower the default scanner caching value
 
 Release 0.19.0 - 01/21/2009
   INCOMPATIBLE CHANGES

Modified: hadoop/hbase/trunk/conf/hbase-default.xml
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/conf/hbase-default.xml?rev=766738&r1=766737&r2=766738&view=diff
==============================================================================
--- hadoop/hbase/trunk/conf/hbase-default.xml (original)
+++ hadoop/hbase/trunk/conf/hbase-default.xml Mon Apr 20 16:04:36 2009
@@ -137,7 +137,7 @@
   </property>
   <property>
     <name>hbase.client.scanner.caching</name>
-    <value>30</value>
+    <value>1</value>
     <description>Number of rows that will be fetched when calling next
     on a scanner if it is not served from memory. Higher caching values
     will enable faster scanners but will eat up more memory and some

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java?rev=766738&r1=766737&r2=766738&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java Mon Apr 20 16:04:36
2009
@@ -117,7 +117,7 @@
       this.configuration.getLong("hbase.client.write.buffer", 2097152);
     this.autoFlush = true;
     this.currentWriteBufferSize = 0;
-    this.scannerCaching = conf.getInt("hbase.client.scanner.caching", 30);
+    this.scannerCaching = conf.getInt("hbase.client.scanner.caching", 1);
   }
 
   /**



Mime
View raw message