hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jxi...@apache.org
Subject svn commit: r1359804 - in /hbase/branches/0.94: CHANGES.txt src/main/java/org/apache/hadoop/hbase/master/SplitLogManager.java
Date Tue, 10 Jul 2012 17:42:02 GMT
Author: jxiang
Date: Tue Jul 10 17:42:02 2012
New Revision: 1359804

URL: http://svn.apache.org/viewvc?rev=1359804&view=rev
Log:
HBASE-6357 Failed distributed log splitting stuck on master web UI

Modified:
    hbase/branches/0.94/CHANGES.txt
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/SplitLogManager.java

Modified: hbase/branches/0.94/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/CHANGES.txt?rev=1359804&r1=1359803&r2=1359804&view=diff
==============================================================================
--- hbase/branches/0.94/CHANGES.txt (original)
+++ hbase/branches/0.94/CHANGES.txt Tue Jul 10 17:42:02 2012
@@ -228,6 +228,7 @@ Bug
     [HBASE-5897] - prePut coprocessor hook causing substantial CPU usage
     [HBASE-5908] - TestHLogSplit.testTralingGarbageCorruptionFileSkipErrorsPasses should
not use append to corrupt the HLog
     [HBASE-6265] - Calling getTimestamp() on a KV in cp.prePut() causes KV not to be flushed
+    [HBASE-6357] - Failed distributed log splitting stuck on master web UI
 
 Improvement
 

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/SplitLogManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/SplitLogManager.java?rev=1359804&r1=1359803&r2=1359804&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/SplitLogManager.java
(original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/SplitLogManager.java
Tue Jul 10 17:42:02 2012
@@ -268,8 +268,10 @@ public class SplitLogManager extends Zoo
       tot_mgr_log_split_batch_err.incrementAndGet();
       LOG.warn("error while splitting logs in " + logDirs +
       " installed = " + batch.installed + " but only " + batch.done + " done");
-      throw new IOException("error or interrupt while splitting logs in "
-          + logDirs + " Task = " + batch);
+      String msg = "error or interrupted while splitting logs in "
+        + logDirs + " Task = " + batch;
+      status.abort(msg);
+      throw new IOException(msg);
     }
     for(Path logDir: logDirs){
       status.setStatus("Cleaning up log directory...");



Mime
View raw message