Skip to content

Commit fafa6df

Browse files
WeisonWeiKiran Kumar Maturi
authored andcommitted
HDFS-16202. Use constants "HdfsClientConfigKeys.Failover.PREFIX" instead of "dfs.client.failover." (apache#3367). Contributed by Weison Wei.
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
1 parent 75e02c4 commit fafa6df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)