Description
https://issues.apache.org/jira/browse/HBASE-23305
https://issues.apache.org/jira/browse/HBASE-18095
HBase now supports a zookeeper-less connection strategy using a Master Registry implementation.
For this to work, the client simply needs to set a list of <host:port>s of the HMaster quorum
<property> <name>hbase.masters</name> <value>master1:16000,master2:16001,master3:16000</value> </property>
To support opting into this from a Phoenix connection URL, we can introduce a "connector type". We'll leverage the + char of JDBC URL grammar to specify the connection type. Connections will start to look something like this:
jdbc:phoenix+zk:hostname1,2,3...:<properties> jdbc:phoenix+hrpc:hostname1,2,3...:<properties> jdbc:phoenix+bigtable:hostname1,2,3...:<properties>
Above are examples of opting into hrpc/zk/bigtable registry implementations of HBase.
If no connector is specified, the driver will default to a Zookeeper based connection.
Attachments
Issue Links
- causes
-
PHOENIX-7150 PHOENIX-6523 has broken HBase 2.1 and 2.2 support
- Resolved
-
PHOENIX-7191 Connectionless CQSs don't work with non-ZK registries
- Resolved
- depends upon
-
PHOENIX-6633 Use standard JDBC URL in Spark Connector and make it optional
- Resolved
- is a child of
-
HBASE-23305 Master based registry implementation
- Resolved
-
HBASE-18095 Provide an option for clients to find the server hosting META that does not involve the ZooKeeper client
- Resolved
- is related to
-
HBASE-12706 Support multiple port numbers in ZK quorum string
- Closed
- relates to
-
PHOENIX-7053 Use full JDBC URL in Pherf instead of ZK quorum
- Open
-
PHOENIX-7097 Allow specifying full JDBC URL string in psql/PhoenixRuntime and sqllline.py
- Resolved
- links to