[ https://issues.apache.org/jira/browse/HBASE-11467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067031#comment-14067031 ]
Mikhail Antonov commented on HBASE-11467: ----------------------------------------- On a related topic about doing those RPC calls to master. Now on the client side we retrive ServerName stored in ZK by calling MasterAddressTracker.getMasterAddress(), which returns full servername including startcode. When we connect to masters using just client config, we know address and port, but can't know startcode upfront, so have to use 0L startcode. Looking into implications.. > New impl of Registry interface not using ZK + new RPCs on master protocol > ------------------------------------------------------------------------- > > Key: HBASE-11467 > URL: https://issues.apache.org/jira/browse/HBASE-11467 > Project: HBase > Issue Type: Sub-task > Components: Client, Consensus, Zookeeper > Reporter: Mikhail Antonov > Assignee: Mikhail Antonov > Fix For: 2.0.0 > > > Currently there' only one implementation of Registry interface, which is > using ZK to get info about meta. Need to create implementation which will be > using RPC calls to master the client is connected to. > That includes adding several new methods to master RPC protocol: > - GetMetaRegionLocation > - GetClusterId > - IsTableOnlineState > - GetCurrentNrHRS -- This message was sent by Atlassian JIRA (v6.2#6252)