HDFS-11025. TestDiskspaceQuotaUpdate fails in trunk due to Bind exception. Contributed by Yiqun Lin
(cherry picked from commit 73504b1bdc4b93c64741de5eb9d022817fdfa22f) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5a37668d Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5a37668d Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5a37668d Branch: refs/heads/branch-2 Commit: 5a37668d1bc13120c6308fb8fbdad843a7cc03b8 Parents: a3cbaf0 Author: Brahma Reddy Battula <bra...@apache.org> Authored: Thu Oct 20 10:41:18 2016 +0530 Committer: Brahma Reddy Battula <bra...@apache.org> Committed: Thu Oct 20 10:42:34 2016 +0530 ---------------------------------------------------------------------- .../hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/5a37668d/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java index deb5208..4b0ac08 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java @@ -427,7 +427,7 @@ public class TestDiskspaceQuotaUpdate { testQuotaIssuesWhileCommittingHelper(nnSpy, (short) 1, (short) 1); } finally { for (MiniDFSCluster.DataNodeProperties dnprop : dnprops) { - cluster.restartDataNode(dnprop, true); + cluster.restartDataNode(dnprop); } cluster.waitActive(); } --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org