HADOOP-2621 Memcache flush flushing every 60 secs with out
considering the max memcache size git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@613010 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
40b4c04da8
commit
40ed226cf1
|
@ -138,6 +138,8 @@ Trunk (unreleased changes)
|
|||
same cause data loss (Bryan Duxbury via Stack)
|
||||
HADOOP-2629 Shell digests garbage without complaint
|
||||
HADOOP-2619 Compaction errors after a region splits
|
||||
HADOOP-2621 Memcache flush flushing every 60 secs with out considering
|
||||
the max memcache size
|
||||
|
||||
IMPROVEMENTS
|
||||
HADOOP-2401 Add convenience put method that takes writable
|
||||
|
|
|
@ -145,10 +145,12 @@
|
|||
</property>
|
||||
<property>
|
||||
<name>hbase.regionserver.optionalcacheflushinterval</name>
|
||||
<value>60000</value>
|
||||
<value>1800000</value>
|
||||
<description>
|
||||
Amount of time to wait since the last time a region was flushed before
|
||||
invoking an optional cache flush. Default 60,000.
|
||||
invoking an optional cache flush (An optional cache flush is a
|
||||
flush even though memcache is not at the memcache.flush.size).
|
||||
Default: 30 minutes (in miliseconds)
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
|
|
|
@ -458,7 +458,7 @@ public class HRegionServer implements HConstants, HRegionInterface, Runnable {
|
|||
public Flusher() {
|
||||
super();
|
||||
this.optionalFlushPeriod = conf.getLong(
|
||||
"hbase.regionserver.optionalcacheflushinterval", 60L * 1000L);
|
||||
"hbase.regionserver.optionalcacheflushinterval", 30 * 60 * 1000L);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue