bharathv commented on a change in pull request #812: HBASE-23275: Track active 
master's address in ActiveMasterManager
URL: https://github.com/apache/hbase/pull/812#discussion_r344976201
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
 ##########
 @@ -3869,4 +3869,7 @@ public String getClusterId() {
     return cachedClusterId.getFromCacheOrFetch();
   }
 
+  public ServerName getActiveMaster() {
+    return activeMasterManager.getActiveMasterServerName();
 
 Review comment:
   I plan to add all the RPCs together in a separate patch.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to