hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r613010 - in /lucene/hadoop/trunk/src/contrib/hbase: CHANGES.txt conf/hbase-default.xml src/java/org/apache/hadoop/hbase/HRegionServer.java
Date Thu, 17 Jan 2008 23:38:13 GMT
Author: stack
Date: Thu Jan 17 15:38:09 2008
New Revision: 613010

URL: http://svn.apache.org/viewvc?rev=613010&view=rev
Log:
HADOOP-2621 Memcache flush flushing every 60 secs with out
considering the max memcache size

Modified:
    lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
    lucene/hadoop/trunk/src/contrib/hbase/conf/hbase-default.xml
    lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionServer.java

Modified: lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt?rev=613010&r1=613009&r2=613010&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt Thu Jan 17 15:38:09 2008
@@ -138,6 +138,8 @@
                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

Modified: lucene/hadoop/trunk/src/contrib/hbase/conf/hbase-default.xml
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/conf/hbase-default.xml?rev=613010&r1=613009&r2=613010&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/conf/hbase-default.xml (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/conf/hbase-default.xml Thu Jan 17 15:38:09 2008
@@ -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>

Modified: lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionServer.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionServer.java?rev=613010&r1=613009&r2=613010&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionServer.java
(original)
+++ lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionServer.java
Thu Jan 17 15:38:09 2008
@@ -458,7 +458,7 @@
     public Flusher() {
       super();
       this.optionalFlushPeriod = conf.getLong(
-          "hbase.regionserver.optionalcacheflushinterval", 60L * 1000L);
+        "hbase.regionserver.optionalcacheflushinterval", 30 * 60 * 1000L);
 
     }
     



Mime
View raw message