hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1163318 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java
Date Tue, 30 Aug 2011 18:10:25 GMT
Author: todd
Date: Tue Aug 30 18:10:25 2011
New Revision: 1163318

URL: http://svn.apache.org/viewvc?rev=1163318&view=rev
Log:
HBASE-4290  HLogSplitter doesn't mark its MonitoredTask as complete in non-distributed case

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1163318&r1=1163317&r2=1163318&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Tue Aug 30 18:10:25 2011
@@ -224,6 +224,8 @@ Release 0.91.0 - Unreleased
                early (Li Pi)
    HBASE-4269  Add tests and restore semantics to TableInputFormat/TableRecordReader
                (Jonathan Hsieh)
+   HBASE-4290  HLogSplitter doesn't mark its MonitoredTask as complete in
+               non-distributed case (todd)
 
   IMPROVEMENTS
    HBASE-3290  Max Compaction Size (Nicolas Spiegelberg via Stack)  

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java?rev=1163318&r1=1163317&r2=1163318&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java Tue
Aug 30 18:10:25 2011
@@ -200,8 +200,10 @@ public class HLogSplitter {
     splits = splitLog(logfiles);
 
     splitTime = EnvironmentEdgeManager.currentTimeMillis() - startTime;
-    logAndReport("hlog file splitting completed in " + splitTime +
-        " ms for " + srcDir.toString());
+    String msg = "hlog file splitting completed in " + splitTime +
+        " ms for " + srcDir.toString();
+    status.markComplete(msg);
+    LOG.info(msg);
     return splits;
   }
   



Mime
View raw message