Skip to content

Commit

Permalink
HDFS-16202. Use constants "HdfsClientConfigKeys.Failover.PREFIX" inst…
Browse files Browse the repository at this point in the history
…ead of "dfs.client.failover." (apache#3367). Contributed by Weison Wei.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
  • Loading branch information
WeisonWei authored and Kiran Kumar Maturi committed Nov 24, 2021
1 parent 75e02c4 commit fafa6df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit fafa6df

Please sign in to comment.