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:
parent
99a157fa4a
commit
a610f6d9c3
|
@ -84,7 +84,7 @@ public class ObserverReadProxyProvider<T>
|
||||||
|
|
||||||
/** Configuration key for {@link #observerProbeRetryPeriodMs}. */
|
/** Configuration key for {@link #observerProbeRetryPeriodMs}. */
|
||||||
static final String OBSERVER_PROBE_RETRY_PERIOD_KEY =
|
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. */
|
/** Observer probe retry period default to 10 min. */
|
||||||
static final long OBSERVER_PROBE_RETRY_PERIOD_DEFAULT = 60 * 10 * 1000;
|
static final long OBSERVER_PROBE_RETRY_PERIOD_DEFAULT = 60 * 10 * 1000;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue