hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1099317 - in /hbase/branches/0.90: CHANGES.txt src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
Date Wed, 04 May 2011 03:48:02 GMT
Author: stack
Date: Wed May  4 03:48:01 2011
New Revision: 1099317

URL: http://svn.apache.org/viewvc?rev=1099317&view=rev
Log:
HBASE-3821 'NOT flushing memstore for region' keep on printing for half an hour

Modified:
    hbase/branches/0.90/CHANGES.txt
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java

Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1099317&r1=1099316&r2=1099317&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Wed May  4 03:48:01 2011
@@ -38,6 +38,8 @@ Release 0.90.3 - Unreleased
    HBASE-3741  Make HRegionServer aware of the regions it's opening/closing
    HBASE-3597  ageOfLastAppliedOp should update after cluster replication
                failures
+   HBASE-3821  "NOT flushing memstore for region" keep on printing for half
+               an hour (zhoushuaifeng)
 
   IMPROVEMENT
    HBASE-3717  deprecate HTable isTableEnabled() methods in favor of HBaseAdmin

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java?rev=1099317&r1=1099316&r2=1099317&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java
(original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java
Wed May  4 03:48:01 2011
@@ -161,7 +161,7 @@ public class CompactSplitThread extends 
         st.rollback(this.server);
         LOG.info("Successful rollback of failed split of " +
           parent.getRegionNameAsString());
-      } catch (RuntimeException e) {
+      } catch (Exception ee) {
         // If failed rollback, kill this server to avoid having a hole in table.
         LOG.info("Failed rollback of failed split of " +
           parent.getRegionNameAsString() + " -- aborting server", e);

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java?rev=1099317&r1=1099316&r2=1099317&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
(original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
Wed May  4 03:48:01 2011
@@ -541,6 +541,7 @@ class SplitTransaction {
       JournalEntry je = iterator.previous();
       switch(je) {
       case CREATE_SPLIT_DIR:
+    	this.parent.writestate.writesEnabled = true;
         cleanupSplitDir(fs, this.splitdir);
         break;
 



Mime
View raw message