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

Mingliang Liu commented on HDFS-8991:
-------------------------------------

Thanks [~jnp] for the review and comment. For the mini-dfs cluster, the 
hostname will be localhost and only one entry in the HA case.

Before this patch:
- Non-HA:
{code}
{"localhost":"BP-954094909-10.22.8.141-1467417399231"}
{code}
- HA:
{code}
{"localhost":"BP-21526920-10.22.8.141-1467417356425"}
{code}

After the patch:
- Non-HA:
{code}
{"BP-1939740699-10.22.8.141-1467416841045":{"localhost:57787":"active"}}
{code}
- HA:
{code}
{"BP-1698487347-10.22.8.141-1467417257785":{"localhost:57925":"active","localhost:57927":"standby"}}
{code}

> Provide information on BPOfferService in DN JMX
> -----------------------------------------------
>
>                 Key: HDFS-8991
>                 URL: https://issues.apache.org/jira/browse/HDFS-8991
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Haohui Mai
>            Assignee: Mingliang Liu
>         Attachments: HDFS-8991.000.patch, HDFS-8991.001.patch
>
>
> In cases like HDFS-7714 where the BPOfferService thread is missing, which 
> require nontrivial effort to debug that which NN that the DN thinks it active 
> / standby.
> It would make sense to make the information more accessible through JMX or 
> Web UI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to