Skip to content

Commit b959313

Browse files
author
weixiaoxing
committed
HDFS-16202. Use constants "HdfsClientConfigKeys.Failover.PREFIX" instead of "dfs.client.failover."
1 parent 6187f76 commit b959313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/ObserverReadProxyProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public class ObserverReadProxyProvider<T>
8484

8585
/** Configuration key for {@link #observerProbeRetryPeriodMs}. */
8686
static final String OBSERVER_PROBE_RETRY_PERIOD_KEY =
87-
"dfs.client.failover.observer.probe.retry.period";
87+
HdfsClientConfigKeys.Failover.PREFIX + "observer.probe.retry.period";
8888
/** Observer probe retry period default to 10 min. */
8989
static final long OBSERVER_PROBE_RETRY_PERIOD_DEFAULT = 60 * 10 * 1000;
9090

0 commit comments

Comments
 (0)