Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12317

False alert on "NameNode High Availability Health" due to Missing JMX objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • ambari-server
    • None

    Description

      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:

      namenode:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus
      

      Returns:

          "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"
        } ]
      }
      

      In case of HDP 2.0.11, it returns:

      {
        "beans" : [ ]
      }
      

      Attachments

        1. AMBARI-12317.patch
          17 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: