You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhuoyue Huang (Jira)" <ji...@apache.org> on 2021/08/24 08:21:00 UTC

[jira] [Commented] (HBASE-26215) The backup master status page should use ActiveMasterManager instead of MasterAddressTracker

    [ https://issues.apache.org/jira/browse/HBASE-26215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17403634#comment-17403634 ] 

Zhuoyue Huang commented on HBASE-26215:
---------------------------------------

Since the backup master status page will remove the MasterAddressTracker, and there is no direct method to obtain ActiveMasterManager (I saw that ActiveMasterManager is a private member of HMaster, and all values in ActiveMasterManager should be returned through HMaster’s public methods). I added some code to make the backup master status page easily retrieve the information it needs.

> The backup master status page should use ActiveMasterManager instead of MasterAddressTracker
> --------------------------------------------------------------------------------------------
>
>                 Key: HBASE-26215
>                 URL: https://issues.apache.org/jira/browse/HBASE-26215
>             Project: HBase
>          Issue Type: Sub-task
>          Components: master, UI
>            Reporter: Duo Zhang
>            Assignee: Zhuoyue Huang
>            Priority: Major
>
> On master we already have ActiveMasterManager for tracking active master and backup masters, so we do not need to use MasterAddressTracker.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)