HDFS-12495. TestPendingInvalidateBlock#testPendingDeleteUnknownBlocks fails intermittently. Contributed by Eric Badger.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e9b790db Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e9b790db Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e9b790db Branch: refs/heads/YARN-5734 Commit: e9b790db9de7c3fbe451bcdc3fd928a27a0d8b4e Parents: 06e5a7b Author: Yiqun Lin <[email protected]> Authored: Tue Sep 26 17:21:42 2017 +0800 Committer: Yiqun Lin <[email protected]> Committed: Tue Sep 26 17:21:42 2017 +0800 ---------------------------------------------------------------------- .../hdfs/server/blockmanagement/TestPendingInvalidateBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/e9b790db/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingInvalidateBlock.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingInvalidateBlock.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingInvalidateBlock.java index 674f883..8f7b5ac 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingInvalidateBlock.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingInvalidateBlock.java @@ -172,7 +172,7 @@ public class TestPendingInvalidateBlock { Assert.assertEquals(0L, cluster.getNamesystem().getPendingDeletionBlocks()); // restart DataNodes for (int i = 0; i < REPLICATION; i++) { - cluster.restartDataNode(dnprops[i], true); + cluster.restartDataNode(dnprops[i]); } cluster.waitActive(); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
