hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1163397 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java
Date Tue, 30 Aug 2011 21:24:55 GMT
Author: todd
Date: Tue Aug 30 21:24:54 2011
New Revision: 1163397

URL: http://svn.apache.org/viewvc?rev=1163397&view=rev
Log:
HBASE-4294  HLogSplitter sleeps with 1-second granularity

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1163397&r1=1163396&r2=1163397&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Tue Aug 30 21:24:54 2011
@@ -511,6 +511,7 @@ Release 0.90.5 - Unreleased
    HBASE-4124  ZK restarted while a region is being assigned, new active HM
                re-assigns it but the RS warns 'already online on this server'
                (Gaojinchao)
+   HBASE-4294  HLogSplitter sleeps with 1-second granularity (todd)
 
   IMPROVEMENT
    HBASE-4205  Enhance HTable javadoc (Eric Charles)

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java?rev=1163397&r1=1163396&r2=1163397&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java Tue
Aug 30 21:24:54 2011
@@ -995,7 +995,10 @@ public class HLogSplitter {
     }
 
     void finish() {
-      shouldStop = true;
+      synchronized (dataAvailable) {
+        shouldStop = true;
+        dataAvailable.notifyAll();
+      }
     }
   }
 



Mime
View raw message