HBASE-4878 Master crash when splitting hlog may cause data loss (Chunhui Shen)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1207560 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
228ebc64d8
commit
bdc28714e1
|
@ -449,6 +449,7 @@ Release 0.92.0 - Unreleased
|
||||||
HBASE-4855 SplitLogManager hangs on cluster restart due to batch.installed doubly counted
|
HBASE-4855 SplitLogManager hangs on cluster restart due to batch.installed doubly counted
|
||||||
HBASE-4877 TestHCM failing sporadically on jenkins and always for me on an
|
HBASE-4877 TestHCM failing sporadically on jenkins and always for me on an
|
||||||
ubuntu machine
|
ubuntu machine
|
||||||
|
HBASE-4878 Master crash when splitting hlog may cause data loss (Chunhui Shen)
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -305,13 +305,12 @@ public class HLogSplitter {
|
||||||
"Discovered orphan hlog after split. Maybe the "
|
"Discovered orphan hlog after split. Maybe the "
|
||||||
+ "HRegionServer was not dead when we started");
|
+ "HRegionServer was not dead when we started");
|
||||||
}
|
}
|
||||||
|
|
||||||
status.setStatus("Archiving logs after completed split");
|
|
||||||
archiveLogs(srcDir, corruptedLogs, processedLogs, oldLogDir, fs, conf);
|
|
||||||
} finally {
|
} finally {
|
||||||
status.setStatus("Finishing writing output logs and closing down.");
|
status.setStatus("Finishing writing output logs and closing down.");
|
||||||
splits = outputSink.finishWritingAndClose();
|
splits = outputSink.finishWritingAndClose();
|
||||||
}
|
}
|
||||||
|
status.setStatus("Archiving logs after completed split");
|
||||||
|
archiveLogs(srcDir, corruptedLogs, processedLogs, oldLogDir, fs, conf);
|
||||||
return splits;
|
return splits;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue