[ 
https://issues.apache.org/jira/browse/HBASE-28436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang updated HBASE-28436:
------------------------------
    Release Note: 
Allow sepcifying the connection info of a HBase cluster through a URI.

For now, we support two types of scheme:
hbase+rpc, which indicates RpcConnectionRegistry
hbase+zk, which indicates ZKConnectionRegistry

For hbase+rpc, we will use the authority part of the URI as bootstrap node when 
creating RpcConnectionRegistry.
For hbase+zk, we will use the authority part of the URI as zookeeper quorum, 
and the path part of the URI as zookeeper parent znode when creating 
ZKConnectionRegistry.

We introduced several new methods in ConnectionRegistry class which accept URI 
as parameter. And if we can not find a registered factory for the scheme of the 
URI, we will fallback to use the old logic, to create ConnectionRegistry 
through configurations.

> Use connection url to specify the connection registry information
> -----------------------------------------------------------------
>
>                 Key: HBASE-28436
>                 URL: https://issues.apache.org/jira/browse/HBASE-28436
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.0, 3.0.0-beta-2
>
>
> As describe in this email from [~ndimiduk]
> https://lists.apache.org/thread/98wqlkqvlnmpx3r7yrg9mw4pqz9ppofh
> The first advantage here is that, we can encode the connection registry 
> implementation in the scheme of the connection url, so for replication, we 
> can now support cluster key other than zookeeper, which is important for us 
> to remove zookeeper dependency on our public facing APIs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to