[
https://issues.apache.org/jira/browse/HBASE-12863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14278304#comment-14278304
]
zhangduo commented on HBASE-12863:
----------------------------------
The infoPort of master address data on zk is always 0.
I think the problem is the order of put master address on zk and start jetty
server when starting HMaster.
In HMaster's constructor, we first become the active master and then start
jettyServer
{code}
startActiveMasterManager();
putUpJettyServer();
{code}
We use masterInfoPort in startActiveMasterManager
{code}
activeMasterManager = new ActiveMasterManager(zooKeeper, this.serverName,
masterInfoPort, this);
{code}
But actually it is intialized in putUpJettyServer
{code}
masterInfoPort = connector.getPort();
{code}
So we always get 0 infoPort...
> Master info port on RS UI is always 0
> --------------------------------------
>
> Key: HBASE-12863
> URL: https://issues.apache.org/jira/browse/HBASE-12863
> Project: HBase
> Issue Type: Bug
> Reporter: Enis Soztutar
> Assignee: Mikhail Antonov
> Labels: beginner, beginners
> Fix For: 1.0.0, 2.0.0, 1.1.0
>
> Attachments: Screen Shot 2015-01-14 at 7.34.33 PM.png
>
>
> Not sure the reason. The link at the bottom of the RS UI back to master
> always lists 0 as the info port, thus fails when clicked.
> Any takers ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)