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/trunk@1426705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fc105796d1
commit
df09a85ca9
|
@ -632,6 +632,9 @@ Release 2.0.3-alpha - Unreleased
|
||||||
HDFS-4308. addBlock() should persist file blocks once.
|
HDFS-4308. addBlock() should persist file blocks once.
|
||||||
(Plamen Jeliazkov via shv)
|
(Plamen Jeliazkov via shv)
|
||||||
|
|
||||||
|
HDFS-4347. Avoid infinite waiting checkpoint to complete in TestBackupNode.
|
||||||
|
(Plamen Jeliazkov via shv)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-3077 SUBTASKS
|
BREAKDOWN OF HDFS-3077 SUBTASKS
|
||||||
|
|
||||||
HDFS-3077. Quorum-based protocol for reading and writing edit logs.
|
HDFS-3077. Quorum-based protocol for reading and writing edit logs.
|
||||||
|
|
|
@ -340,8 +340,8 @@ public class TestBackupNode {
|
||||||
//
|
//
|
||||||
// Take a checkpoint
|
// Take a checkpoint
|
||||||
//
|
//
|
||||||
backup = startBackupNode(conf, op, 1);
|
|
||||||
long txid = cluster.getNameNodeRpc().getTransactionID();
|
long txid = cluster.getNameNodeRpc().getTransactionID();
|
||||||
|
backup = startBackupNode(conf, op, 1);
|
||||||
waitCheckpointDone(cluster, txid);
|
waitCheckpointDone(cluster, txid);
|
||||||
|
|
||||||
for (int i = 0; i < 10; i++) {
|
for (int i = 0; i < 10; i++) {
|
||||||
|
|
Loading…
Reference in New Issue