HBASE-3409 Failed server shutdown processing when retrying hlog split

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1055254 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-01-05 00:48:42 +00:00
parent c10721b8a8
commit b7ece04e0f
2 changed files with 4 additions and 0 deletions

View File

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

View File

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