HDFS-3625. Fix TestBackupNode by properly initializing edit log during startup. Contributed by Junping Du.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1362189 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
572823c82c
commit
6df36b58e1
@ -179,6 +179,9 @@ Trunk (unreleased changes)
|
|||||||
HDFS-3614. Revert unused MiniDFSCluster constructor from HDFS-3049.
|
HDFS-3614. Revert unused MiniDFSCluster constructor from HDFS-3049.
|
||||||
(acmurthy via eli)
|
(acmurthy via eli)
|
||||||
|
|
||||||
|
HDFS-3625. Fix TestBackupNode by properly initializing edit log during
|
||||||
|
startup. (Junping Du via todd)
|
||||||
|
|
||||||
Branch-2 ( Unreleased changes )
|
Branch-2 ( Unreleased changes )
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -364,6 +364,7 @@ public class BackupNode extends NameNode {
|
|||||||
} else {
|
} else {
|
||||||
nsInfo.validateStorage(storage);
|
nsInfo.validateStorage(storage);
|
||||||
}
|
}
|
||||||
|
bnImage.initEditLog();
|
||||||
setRegistration();
|
setRegistration();
|
||||||
NamenodeRegistration nnReg = null;
|
NamenodeRegistration nnReg = null;
|
||||||
while(!isStopRequested()) {
|
while(!isStopRequested()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user