You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/MountTableRefresherService.java
+12-4
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ public class MountTableRefresherService extends AbstractService {
75
75
76
76
/**
77
77
* All router admin clients cached. So no need to create the client again and
78
-
* again. Router admin address(host:port) is used as key to cache RouterClient
78
+
* again. Router admin address(host:port or ip:port) is used as key to cache RouterClient
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RBFConfigKeys.java
+3
Original file line number
Diff line number
Diff line change
@@ -288,6 +288,9 @@ public class RBFConfigKeys extends CommonConfigurationKeysPublic {
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterHeartbeatService.java
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/store/StateStoreUtils.java
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterMountTableCacheRefresh.java
+24-8
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@
25
25
importjava.io.IOException;
26
26
importjava.net.InetSocketAddress;
27
27
importjava.util.ArrayList;
28
+
importjava.util.Arrays;
29
+
importjava.util.Collection;
28
30
importjava.util.Collections;
29
31
importjava.util.List;
30
32
importjava.util.concurrent.TimeUnit;
@@ -53,23 +55,32 @@
53
55
importorg.apache.hadoop.test.GenericTestUtils;
54
56
importorg.apache.hadoop.util.Time;
55
57
importorg.junit.After;
56
-
importorg.junit.AfterClass;
57
-
importorg.junit.BeforeClass;
58
58
importorg.junit.Test;
59
+
importorg.junit.runner.RunWith;
60
+
importorg.junit.runners.Parameterized;
59
61
60
62
/**
61
63
* This test class verifies that mount table cache is updated on all the routers
62
64
* when MountTableRefreshService is enabled and there is a change in mount table
0 commit comments