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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment