From b008072044fa78f49ef3fe14f4c9756c8268279d Mon Sep 17 00:00:00 2001 From: Chao Sun Date: Wed, 31 Jul 2019 10:24:48 -0700 Subject: [PATCH] HDFS-14681. RBF: TestDisableRouterQuota failed because port 8888 was occupied. --- .../hdfs/server/federation/router/TestDisableRouterQuota.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestDisableRouterQuota.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestDisableRouterQuota.java index 2632f5936fb..081f6044668 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestDisableRouterQuota.java +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestDisableRouterQuota.java @@ -46,6 +46,7 @@ public class TestDisableRouterQuota { .quota(false) //set false to verify the quota disabled in Router .rpc() .build(); + routerConf.set(RBFConfigKeys.DFS_ROUTER_RPC_ADDRESS_KEY, "0.0.0.0:0"); router.init(routerConf); router.setRouterId("TestRouterId"); router.start();