HDFS-4347. Avoid infinite waiting checkpoint to complete in TestBackupNode. Contributed by Plamen Jeliazkov.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1426706 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6a4b1b881c
commit
a3e393afaf
|
@ -341,6 +341,9 @@ Release 2.0.3-alpha - Unreleased
|
|||
HDFS-4308. addBlock() should persist file blocks once.
|
||||
(Plamen Jeliazkov via shv)
|
||||
|
||||
HDFS-4347. Avoid infinite waiting checkpoint to complete in TestBackupNode.
|
||||
(Plamen Jeliazkov via shv)
|
||||
|
||||
BREAKDOWN OF HDFS-3077 SUBTASKS
|
||||
|
||||
HDFS-3077. Quorum-based protocol for reading and writing edit logs.
|
||||
|
|
|
@ -325,8 +325,8 @@ public class TestBackupNode {
|
|||
//
|
||||
// Take a checkpoint
|
||||
//
|
||||
backup = startBackupNode(conf, op, 1);
|
||||
long txid = cluster.getNameNodeRpc().getTransactionID();
|
||||
backup = startBackupNode(conf, op, 1);
|
||||
waitCheckpointDone(cluster, txid);
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
|
|
Loading…
Reference in New Issue