HBASE-22307 Deprecated Preemptive Fail Fast

This commit is contained in:
Duo Zhang 2019-04-25 11:51:53 +08:00 committed by Apache9
parent 5bc7eda1c1
commit 184568cadd
1 changed files with 52 additions and 13 deletions

View File

@ -1300,31 +1300,70 @@ public final class HConstants {
*/
/**
* Config for enabling/disabling the fast fail mode.
* @deprecated since 2.3.0, and in 3.0.0 the actually implementation will be removed so config
* this value will have no effect. The constants itself will be removed in 4.0.0.
*/
@Deprecated
public static final String HBASE_CLIENT_FAST_FAIL_MODE_ENABLED =
"hbase.client.fast.fail.mode.enabled";
public static final boolean HBASE_CLIENT_ENABLE_FAST_FAIL_MODE_DEFAULT =
false;
/**
* @deprecated since 2.3.0, and in 3.0.0 the actually implementation will be removed so config
* this value will have no effect. The constants itself will be removed in 4.0.0.
*/
@Deprecated
public static final boolean HBASE_CLIENT_ENABLE_FAST_FAIL_MODE_DEFAULT = false;
/**
* @deprecated since 2.3.0, and in 3.0.0 the actually implementation will be removed so config
* this value will have no effect. The constants itself will be removed in 4.0.0.
*/
@Deprecated
public static final String HBASE_CLIENT_FAST_FAIL_THREASHOLD_MS =
"hbase.client.fastfail.threshold";
public static final long HBASE_CLIENT_FAST_FAIL_THREASHOLD_MS_DEFAULT =
60000;
/**
* @deprecated since 2.3.0, and in 3.0.0 the actually implementation will be removed so config
* this value will have no effect. The constants itself will be removed in 4.0.0.
*/
@Deprecated
public static final long HBASE_CLIENT_FAST_FAIL_THREASHOLD_MS_DEFAULT = 60000;
/**
* @deprecated since 2.3.0, and in 3.0.0 the actually implementation will be removed so config
* this value will have no effect. The constants itself will be removed in 4.0.0.
*/
@Deprecated
public static final String HBASE_CLIENT_FAILURE_MAP_CLEANUP_INTERVAL_MS =
"hbase.client.failure.map.cleanup.interval";
public static final long HBASE_CLIENT_FAILURE_MAP_CLEANUP_INTERVAL_MS_DEFAULT =
600000;
/**
* @deprecated since 2.3.0, and in 3.0.0 the actually implementation will be removed so config
* this value will have no effect. The constants itself will be removed in 4.0.0.
*/
@Deprecated
public static final long HBASE_CLIENT_FAILURE_MAP_CLEANUP_INTERVAL_MS_DEFAULT = 600000;
/**
* @deprecated since 2.3.0, and in 3.0.0 the actually implementation will be removed so config
* this value will have no effect. The constants itself will be removed in 4.0.0.
*/
@Deprecated
public static final String HBASE_CLIENT_FAST_FAIL_CLEANUP_MS_DURATION_MS =
"hbase.client.fast.fail.cleanup.duration";
public static final long HBASE_CLIENT_FAST_FAIL_CLEANUP_DURATION_MS_DEFAULT =
600000;
/**
* @deprecated since 2.3.0, and in 3.0.0 the actually implementation will be removed so config
* this value will have no effect. The constants itself will be removed in 4.0.0.
*/
@Deprecated
public static final long HBASE_CLIENT_FAST_FAIL_CLEANUP_DURATION_MS_DEFAULT = 600000;
/**
* @deprecated since 2.3.0, and in 3.0.0 the actually implementation will be removed so config
* this value will have no effect. The constants itself will be removed in 4.0.0.
*/
@Deprecated
public static final String HBASE_CLIENT_FAST_FAIL_INTERCEPTOR_IMPL =
"hbase.client.fast.fail.interceptor.impl";