hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1099318 - in /hbase/trunk: 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:51:59 GMT
Author: stack
Date: Wed May  4 03:51:59 2011
New Revision: 1099318

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

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

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1099318&r1=1099317&r2=1099318&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Wed May  4 03:51:59 2011
@@ -273,6 +273,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)
 
   IMPROVEMENTS
    HBASE-3747  ReplicationSource should differanciate remote and local exceptions

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java?rev=1099318&r1=1099317&r2=1099318&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java
(original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java
Wed May  4 03:51:59 2011
@@ -177,7 +177,7 @@ public class CompactSplitThread extends 
         st.rollback(this.server, this.server);
         LOG.info("Successful rollback of failed split of " +
           parent.getRegionNameAsString());
-      } catch (RuntimeException ee) {
+      } 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", ee);

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java?rev=1099318&r1=1099317&r2=1099318&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java Wed
May  4 03:51:59 2011
@@ -594,6 +594,7 @@ public class SplitTransaction {
         break;
 
       case CREATE_SPLIT_DIR:
+    	this.parent.writestate.writesEnabled = true;
         cleanupSplitDir(fs, this.splitdir);
         break;
 



Mime
View raw message