hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1055254 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
Date Wed, 05 Jan 2011 00:48:42 GMT
Author: stack
Date: Wed Jan  5 00:48:42 2011
New Revision: 1055254

URL: http://svn.apache.org/viewvc?rev=1055254&view=rev
Log:
HBASE-3409 Failed server shutdown processing when retrying hlog split

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

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1055254&r1=1055253&r2=1055254&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Wed Jan  5 00:48:42 2011
@@ -814,6 +814,7 @@ Release 0.90.0 - Unreleased
    HBASE-3344  Master aborts after RPC to server that was shutting down
    HBASE-3408  AssignmentManager NullPointerException
    HBASE-3402  Web UI shows two META regions
+   HBASE-3409  Failed server shutdown processing when retrying hlog split
 
 
   IMPROVEMENTS

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java?rev=1055254&r1=1055253&r2=1055254&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java Wed Jan
 5 00:48:42 2011
@@ -196,6 +196,9 @@ public class MasterFileSystem {
         splitter.splitLog();
       } catch (OrphanHLogAfterSplitException e) {
         LOG.warn("Retrying splitting because of:", e);
+        // An HLogSplitter instance can only be used once.  Get new instance.
+        splitter = HLogSplitter.createLogSplitter(conf, rootdir, logDir,
+          oldLogDir, this.fs);
         splitter.splitLog();
       }
       splitTime = splitter.getTime();



Mime
View raw message