HBASE-4290 HLogSplitter doesn't mark its MonitoredTask as complete in non-distributed case

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1163318 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2011-08-30 18:10:25 +00:00
parent 7cac21df9c
commit 0ad9dacedb
2 changed files with 6 additions and 2 deletions

View File

@ -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)

View File

@ -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;
}