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

Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value

    Details

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

      Description

      Ambari Details:
      ambari-server.x86_64 2.1.0-1469
      ambari-server --hash: fc89328b7c7c0af7eb8f87bb5a804a2a9e937a8c

      quick_links.js, quick_view_link_view.js are referring to HDP 2.3 properties(ranger.service.http.port, ranger.service.https.port in config file ranger-admin-site.xml) whereas it should use HDP 2.2 properties(http.service.port, https.service.port in config file ranger-site.xml)

      This is Ambari UI task, which is not handling use case of defining different quick_links for different HDP stack version.

      1. AMBARI-12773.patch
        3 kB
        Xi Wang
      2. AMBARI-12773-2.patch
        0.6 kB
        Xi Wang
      3. AMBARI-12773-3.patch
        6 kB
        Xi Wang

        Issue Links

          Activity

          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12750609/AMBARI-12773.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in .

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3587//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3587//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12750609/AMBARI-12773.patch against trunk revision . +1 @author . The patch does not contain any @author tags. -1 tests included . The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in . Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3587//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3587//console This message is automatically generated.
          Hide
          jaimin Jaimin Jetly added a comment -

          +1 for the patch.

          Show
          jaimin Jaimin Jetly added a comment - +1 for the patch.
          Hide
          xiwang0309 Xi Wang added a comment -

          6506 tests complete (11 seconds)
          94 tests pending

          Show
          xiwang0309 Xi Wang added a comment - 6506 tests complete (11 seconds) 94 tests pending
          Hide
          xiwang0309 Xi Wang added a comment -

          Committed to trunk and branch-2.1

          Show
          xiwang0309 Xi Wang added a comment - Committed to trunk and branch-2.1
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3284 (See https://builds.apache.org/job/Ambari-trunk-Commit/3284/)
          AMBARI-12773. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d4c0780ba321fcc4546df0279d49a7b1912c47a8)

          • ambari-web/app/models/quick_links.js
          • ambari-web/app/views/common/quick_view_link_view.js
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3284 (See https://builds.apache.org/job/Ambari-trunk-Commit/3284/ ) AMBARI-12773 . Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d4c0780ba321fcc4546df0279d49a7b1912c47a8 ) ambari-web/app/models/quick_links.js ambari-web/app/views/common/quick_view_link_view.js
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #384 (See https://builds.apache.org/job/Ambari-branch-2.1/384/)
          AMBARI-12773. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d5bf22f25e97c1dd1dd95e43843b1aafb0ce9668)

          • ambari-web/app/models/quick_links.js
          • ambari-web/app/views/common/quick_view_link_view.js
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #384 (See https://builds.apache.org/job/Ambari-branch-2.1/384/ ) AMBARI-12773 . Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d5bf22f25e97c1dd1dd95e43843b1aafb0ce9668 ) ambari-web/app/models/quick_links.js ambari-web/app/views/common/quick_view_link_view.js
          Hide
          xiwang0309 Xi Wang added a comment -

          Committed to branch-2.1.1 as well

          Show
          xiwang0309 Xi Wang added a comment - Committed to branch-2.1.1 as well
          Hide
          xiwang0309 Xi Wang added a comment -

          Second patch attached.
          Validated e2e on all of these 3:
          2.1.0+hotfix, 2.1.1, and 2.1.2
          for HDP 2.2 and HDP 2.3 (6 combos total)

          Show
          xiwang0309 Xi Wang added a comment - Second patch attached. Validated e2e on all of these 3: 2.1.0+hotfix, 2.1.1, and 2.1.2 for HDP 2.2 and HDP 2.3 (6 combos total)
          Hide
          u39kun Yusaku Sako added a comment -

          +1 for the second patch.

          Show
          u39kun Yusaku Sako added a comment - +1 for the second patch.
          Hide
          u39kun Yusaku Sako added a comment -

          Committed to trunk, branch-2.1, and branch-2.1.1.

          Show
          u39kun Yusaku Sako added a comment - Committed to trunk, branch-2.1, and branch-2.1.1.
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3306 (See https://builds.apache.org/job/Ambari-trunk-Commit/3306/)
          AMBARI-12773-2. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=188d39c2e71efbdd007508c6eca0c97ba15d5bda)

          • ambari-web/app/views/common/quick_view_link_view.js
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3306 (See https://builds.apache.org/job/Ambari-trunk-Commit/3306/ ) AMBARI-12773 -2. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=188d39c2e71efbdd007508c6eca0c97ba15d5bda ) ambari-web/app/views/common/quick_view_link_view.js
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #406 (See https://builds.apache.org/job/Ambari-branch-2.1/406/)
          AMBARI-12773-2. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5c1bf3d7e735299f367d02bd5a66d066ab8a1cf8)

          • ambari-web/app/views/common/quick_view_link_view.js
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #406 (See https://builds.apache.org/job/Ambari-branch-2.1/406/ ) AMBARI-12773 -2. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5c1bf3d7e735299f367d02bd5a66d066ab8a1cf8 ) ambari-web/app/views/common/quick_view_link_view.js
          Hide
          xiwang0309 Xi Wang added a comment -

          Third patch attached including unit tests. verified e2e.
          Unit tests passed.

          Show
          xiwang0309 Xi Wang added a comment - Third patch attached including unit tests. verified e2e. Unit tests passed.
          Hide
          xiwang0309 Xi Wang added a comment -

          6465 tests complete (10 seconds)
          94 tests pending

          Show
          xiwang0309 Xi Wang added a comment - 6465 tests complete (10 seconds) 94 tests pending
          Hide
          xiwang0309 Xi Wang added a comment -

          Got +1 from review board.
          Patch 3 Committed to trunk, branch-2.1, and branch-2.1.1.

          Show
          xiwang0309 Xi Wang added a comment - Got +1 from review board. Patch 3 Committed to trunk, branch-2.1, and branch-2.1.1.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-trunk-Commit #3309 (See https://builds.apache.org/job/Ambari-trunk-Commit/3309/)
          AMBARI-12773-3. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(xiwang) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=64bb08688b872b78243994f7d5bf09a531c2a8c8)

          • 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 #3309 (See https://builds.apache.org/job/Ambari-trunk-Commit/3309/ ) AMBARI-12773 -3. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(xiwang) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=64bb08688b872b78243994f7d5bf09a531c2a8c8 ) ambari-web/app/views/common/quick_view_link_view.js ambari-web/test/views/common/quick_link_view_test.js
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #409 (See https://builds.apache.org/job/Ambari-branch-2.1/409/)
          AMBARI-12773-3. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(xiwang) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c551775c773deb662833c1d41c8fba7e0992d73d)

          • 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 - FAILURE: Integrated in Ambari-branch-2.1 #409 (See https://builds.apache.org/job/Ambari-branch-2.1/409/ ) AMBARI-12773 -3. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(xiwang) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c551775c773deb662833c1d41c8fba7e0992d73d ) ambari-web/app/views/common/quick_view_link_view.js ambari-web/test/views/common/quick_link_view_test.js

            People

            • Assignee:
              xiwang0309 Xi Wang
              Reporter:
              xiwang0309 Xi Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development