[
https://issues.apache.org/jira/browse/AMBARI-12317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hurley updated AMBARI-12317:
-------------------------------------
Attachment: AMBARI-12317.patch
> False alert on "NameNode High Availability Health" due to Missing JMX objects
> -----------------------------------------------------------------------------
>
> Key: AMBARI-12317
> URL: https://issues.apache.org/jira/browse/AMBARI-12317
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Fix For: 2.1.0
>
> Attachments: AMBARI-12317.patch
>
>
> HDP 2.0.11 produces an alert for NameNode HA. The script is making a call to
> jmx, which works fine in HDP 2.2.0:
> {code}
> namenode:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus
> {code}
> Returns:
> {code}
> "name" : "Hadoop:service=NameNode,name=NameNodeStatus",
> "modelerType" : "org.apache.hadoop.hdfs.server.namenode.NameNode",
> "NNRole" : "NameNode",
> "HostAndPort" : "cn030.l42scl.hortonworks.com:8020",
> "SecurityEnabled" : true,
> "State" : "active"
> } ]
> }
> {code}
> In case of HDP 2.0.11, it returns:
> {code}
> {
> "beans" : [ ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)