[
https://issues.apache.org/jira/browse/HBASE-26149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396455#comment-17396455
]
Duo Zhang commented on HBASE-26149:
-----------------------------------
Yes, as [~bharathv] said, there is no problem when we use ZKConnectionRegistry
in the past.
{quote}
RPC-based registry as opposed to which sort of Registry? One where we read from
configs?
{quote}
The design is like this. You need to provide a list of nodes in the config file
first, and once the RpcConnectionRegistry is up, it will call getBootstrapNodes
method to get a list of 'new' bootstrap nodes.
And now, both master and region server has implemented the ClientMetaService
interface, so you are free to provide either a master or a region server or
several of them as the initial nodes in config file, and then the
RpcConnectionRegistry will load new nodes automatically. The benefit here is
that, we can control the nodes we want to return to client, masters, or region
servers, or both, or a sub set of region servers, etc, which means we do not
need to let the end users consider what is the best way to config the initial
nodes. Just config the one you like and make sure you can connect to the
cluster.
Thanks.
> Further improvements on ConnectionRegistry implementations
> ----------------------------------------------------------
>
> Key: HBASE-26149
> URL: https://issues.apache.org/jira/browse/HBASE-26149
> Project: HBase
> Issue Type: Umbrella
> Components: Client
> Reporter: Duo Zhang
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)