HConnection/HMasterInterface should allow for way to get hostname of currently 
active master in multi-master HBase setup
------------------------------------------------------------------------------------------------------------------------

                 Key: HBASE-5209
                 URL: https://issues.apache.org/jira/browse/HBASE-5209
             Project: HBase
          Issue Type: Improvement
          Components: master
            Reporter: Aditya Acharya


I have a multi-master HBase set up, and I'm trying to programmatically 
determine which of the masters is currently active. But the API does not allow 
me to do this. There is a getMaster() method in the HConnection class, but it 
returns an HMasterInterface, whose methods do not allow me to find out which 
master won the last race. The API should have a getActiveMasterHostname() or 
something to that effect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to