HBASE-20862 Restore HConstants for compatibility

Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
Mike Drob 2018-07-09 21:09:09 -05:00 committed by zhangduo
parent 8decae9b92
commit 573fa74cba
1 changed files with 7 additions and 0 deletions

View File

@ -258,6 +258,13 @@ public final class HConstants {
public static final String ZOOKEEPER_TICK_TIME =
ZK_CFG_PROPERTY_PREFIX + "tickTime";
/**
* Will be removed in hbase 3.0
* @deprecated use {@link #DEFAULT_ZOOKEEPER_MAX_CLIENT_CNXNS} instead
*/
@Deprecated
public static final int DEFAULT_ZOOKEPER_MAX_CLIENT_CNXNS = 300;
/** Default limit on concurrent client-side zookeeper connections */
public static final int DEFAULT_ZOOKEEPER_MAX_CLIENT_CNXNS = 300;