HBASE-5077 SplitLogWorker fails to let go of a task, kills the RS

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-12-21 04:06:03 +00:00
parent dc89430102
commit 04dd71214a
2 changed files with 4 additions and 3 deletions

View File

@ -460,6 +460,7 @@ Release 0.92.0 - Unreleased
HBASE-4935 hbase 0.92.0 doesn't work going against 0.20.205.0, its packaged hadoop HBASE-4935 hbase 0.92.0 doesn't work going against 0.20.205.0, its packaged hadoop
HBASE-5078 DistributedLogSplitter failing to split file because it has edits for HBASE-5078 DistributedLogSplitter failing to split file because it has edits for
lots of regions lots of regions
HBASE-5077 SplitLogWorker fails to let go of a task, kills the RS
TESTS TESTS
HBASE-4450 test for number of blocks read: to serve as baseline for expected HBASE-4450 test for number of blocks read: to serve as baseline for expected

View File

@ -490,12 +490,12 @@ public class HLogSplitter {
} }
String msg = "Processed " + editsCount + " edits across " + n + " regions" + String msg = "Processed " + editsCount + " edits across " + n + " regions" +
" threw away edits for " + (logWriters.size() - n) + " regions" + " threw away edits for " + (logWriters.size() - n) + " regions" +
"; log file=" + logPath + "; log file=" + logPath + " is corrupted = " + isCorrupted +
", corrupted=" + isCorrupted; " progress failed = " + progress_failed);
LOG.info(msg); LOG.info(msg);
status.markComplete(msg); status.markComplete(msg);
} }
return true; return !progress_failed;
} }
/** /**