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

HBase Links Metric - more links pointing to the wrong hbase.master.info.port

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • trunk
    • 2.4.0
    • ambari-web
    • None

    Description

      HBase Links Metric - more links are pointing to the convetional hbase.master.info.port 60010, while it's configured as 16010. It happens when HBase links and Yarn links metrics are both on Dashboard.

      It's due to in ambari/ambari-web/app/views/common/quick_view_link_view.js loadQuickLinksConfigSuccessCallback(), requiredSiteNames gets overridden every time when there is a quickLinks view loaded. So when Hbase links metric first gets loaded, it sets requiredSiteNames to ['core-site', 'hbase-site', 'hdfs-site']. But when Yarn links metric gets loaded, it overrides requiredSiteNames to ['core-site', 'hdfs-site', 'yarn-site'].
      So when Yarn links get loaded, Hbase links get set to default value as 'hbase-site' is not in requiredSiteNames.

      Attachments

        Issue Links

        Activity

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

          People

            jwang James Wang
            jwang James Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment