HBASE-20159 Reintroduce misspelled HConstants.DEFAULT_ZOOKEPER_CLIENT_PORT

This commit is contained in:
Mike Drob 2018-04-03 15:30:42 -07:00
parent 9a34880724
commit b8a13ba10f
1 changed files with 7 additions and 0 deletions

View File

@ -217,6 +217,13 @@ public final class HConstants {
public static final String ZOOKEEPER_CLIENT_PORT =
ZK_CFG_PROPERTY_PREFIX + CLIENT_PORT_STR;
/**
* Will be removed in hbase 3.0
* @deprecated use {@link #DEFAULT_ZOOKEEPER_CLIENT_PORT} instead
*/
@Deprecated
public static final int DEFAULT_ZOOKEPER_CLIENT_PORT = 2181;
/** Default client port that the zookeeper listens on */
public static final int DEFAULT_ZOOKEEPER_CLIENT_PORT = 2181;