You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by md...@apache.org on 2018/04/04 04:36:33 UTC
hbase git commit: HBASE-20159 Reintroduce misspelled
HConstants.DEFAULT_ZOOKEPER_CLIENT_PORT
Repository: hbase
Updated Branches:
refs/heads/branch-2 9a3488072 -> b8a13ba10
HBASE-20159 Reintroduce misspelled HConstants.DEFAULT_ZOOKEPER_CLIENT_PORT
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b8a13ba1
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b8a13ba1
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b8a13ba1
Branch: refs/heads/branch-2
Commit: b8a13ba10f37cced0e0d891e65dded651f939700
Parents: 9a34880
Author: Mike Drob <md...@apache.org>
Authored: Tue Apr 3 15:30:42 2018 -0700
Committer: Mike Drob <md...@apache.org>
Committed: Tue Apr 3 21:36:22 2018 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hbase/HConstants.java | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/b8a13ba1/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
index 7ee31a5..ac56ce5 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
@@ -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;