hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1091650 - in /hbase/branches/0.90: CHANGES.txt src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
Date Wed, 13 Apr 2011 04:54:12 GMT
Author: stack
Date: Wed Apr 13 04:54:11 2011
New Revision: 1091650

URL: http://svn.apache.org/viewvc?rev=1091650&view=rev
Log:
HBASE-3722 A lot of data is lost when name node crashed

Modified:
    hbase/branches/0.90/CHANGES.txt
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java

Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1091650&r1=1091649&r2=1091650&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Wed Apr 13 04:54:11 2011
@@ -16,6 +16,7 @@ Release 0.90.3 - Unreleased
                for discarded tables (Ted Yu via garyh)
    HBASE-3755  Catch zk's ConnectionLossException and augment error
                message with more help
+   HBASE-3722  A lot of data is lost when name node crashed (gaojinchao)
 
   IMPROVEMENT
    HBASE-3717  deprecate HTable isTableEnabled() methods in favor of HBaseAdmin

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java?rev=1091650&r1=1091649&r2=1091650&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
(original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
Wed Apr 13 04:54:11 2011
@@ -205,6 +205,7 @@ public class MasterFileSystem {
       splitTime = splitter.getTime();
       splitLogSize = splitter.getSize();
     } catch (IOException e) {
+      checkFileSystem();
       LOG.error("Failed splitting " + logDir.toString(), e);
     } finally {
       this.splitLogLock.unlock();



Mime
View raw message