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.
|
||||
(acmurthy via eli)
|
||||
|
||||
HDFS-3625. Fix TestBackupNode by properly initializing edit log during
|
||||
startup. (Junping Du via todd)
|
||||
|
||||
Branch-2 ( Unreleased changes )
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -364,6 +364,7 @@ public class BackupNode extends NameNode {
|
|||
} else {
|
||||
nsInfo.validateStorage(storage);
|
||||
}
|
||||
bnImage.initEditLog();
|
||||
setRegistration();
|
||||
NamenodeRegistration nnReg = null;
|
||||
while(!isStopRequested()) {
|
||||
|
|
Loading…
Reference in New Issue