[
https://issues.apache.org/jira/browse/AMBARI-3152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763227#comment-13763227
]
Yusaku Sako commented on AMBARI-3152:
-------------------------------------
+1 for the patch.
> When NameNode HA is enabled and one NameNode is down, a subset of HDFS
> metrics do not appear
> --------------------------------------------------------------------------------------------
>
> Key: AMBARI-3152
> URL: https://issues.apache.org/jira/browse/AMBARI-3152
> Project: Ambari
> Issue Type: Bug
> Components: client
> Affects Versions: 1.4.1
> Reporter: Xi Wang
> Assignee: Xi Wang
> Fix For: 1.4.1
>
> Attachments: AMBARI-3152.patch
>
>
> HDFS metrics always got from host_components[0] because before HA enabled,
> there is only one NameNode.
> After HA enabled, host_components will be an array of two objects(two NNs).
> So, We should always get metrics from the active NameNode.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira