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

Ambari NameNode UI Quick Links resolve to wrong port when NN HA is enabled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2
    • Component/s: ambari-web
    • Labels:
      None

      Description

      STR
      Enable NameNode HA.
      Edit dfs.namenode.http-address.nameserviceid.nn1 and dfs.namenode.http-address.nameserviceid.nn2 to non default port(s).
      Restart HDFS

      QuickLinks use the ports set by dfs.namenode.http-address (but this is incorrect). When HA is set up, it should derive the QuickLinks from the above properties in STR.

      1. AMBARI-13022.patch
        5 kB
        Antonenko Alexander

        Activity

        Hide
        akovalenko Aleksandr Kovalenko added a comment -

        +1 for the patch

        Show
        akovalenko Aleksandr Kovalenko added a comment - +1 for the patch
        Hide
        aantonenko Antonenko Alexander added a comment -

        Committed to trunk and 2.1

        Show
        aantonenko Antonenko Alexander added a comment - Committed to trunk and 2.1
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Ambari-branch-2.1 #486 (See https://builds.apache.org/job/Ambari-branch-2.1/486/)
        AMBARI-13022. Ambari NameNode UI Quick Links resolve to wrong port when NN HA is enabled (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a21d2bc211d2262d1aaadb7a05b8342021e001c1)

        • ambari-web/test/views/common/quick_link_view_test.js
        • ambari-web/app/views/common/quick_view_link_view.js
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Ambari-branch-2.1 #486 (See https://builds.apache.org/job/Ambari-branch-2.1/486/ ) AMBARI-13022 . Ambari NameNode UI Quick Links resolve to wrong port when NN HA is enabled (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a21d2bc211d2262d1aaadb7a05b8342021e001c1 ) ambari-web/test/views/common/quick_link_view_test.js ambari-web/app/views/common/quick_view_link_view.js
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Ambari-trunk-Commit #3394 (See https://builds.apache.org/job/Ambari-trunk-Commit/3394/)
        AMBARI-13022. Ambari NameNode UI Quick Links resolve to wrong port when NN HA is enabled (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0bfe4d864f90e96a200305da57c83c802746b891)

        • ambari-web/app/views/common/quick_view_link_view.js
        • ambari-web/test/views/common/quick_link_view_test.js
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #3394 (See https://builds.apache.org/job/Ambari-trunk-Commit/3394/ ) AMBARI-13022 . Ambari NameNode UI Quick Links resolve to wrong port when NN HA is enabled (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0bfe4d864f90e96a200305da57c83c802746b891 ) ambari-web/app/views/common/quick_view_link_view.js ambari-web/test/views/common/quick_link_view_test.js

          People

          • Assignee:
            aantonenko Antonenko Alexander
            Reporter:
            aantonenko Antonenko Alexander
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development