[ https://issues.apache.org/jira/browse/HBASE-11467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066950#comment-14066950 ]
Gary Helmling commented on HBASE-11467: --------------------------------------- Maybe we could make ClusterId available through an HTTP endpoint on the master? That would allow the client to easily poll the endpoint on configured masters to obtain it. Obtaining ClusterId through normal RPC without authentication would be difficult, I think. Authentication happens at connection time, so allowing getting ClusterId to happen without auth would require something like setting up a separate RPC server just to handle that, or else some nasty hacks to allow that particular call to go through. > 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)