HBASE-1331 Lower the default scanner caching value
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@766738 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07bf1b5c44
commit
4629b58bd7
|
@ -143,6 +143,7 @@ Release 0.20.0 - Unreleased
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -117,7 +117,7 @@ public class HTable {
|
|||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue