HDFS-16202. Use constants "HdfsClientConfigKeys.Failover.PREFIX" instead of "dfs.client.failover." (#3367). Contributed by Weison Wei.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
Weison Wei 2021-09-03 14:35:53 +08:00 committed by GitHub
parent 99a157fa4a
commit a610f6d9c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ public class ObserverReadProxyProvider<T>
/** Configuration key for {@link #observerProbeRetryPeriodMs}. */
static final String OBSERVER_PROBE_RETRY_PERIOD_KEY =
"dfs.client.failover.observer.probe.retry.period";
HdfsClientConfigKeys.Failover.PREFIX + "observer.probe.retry.period";
/** Observer probe retry period default to 10 min. */
static final long OBSERVER_PROBE_RETRY_PERIOD_DEFAULT = 60 * 10 * 1000;