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

Ability to switch Quick Links to use Service URL through Knox or given proxy

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Knox has the ability to proxy Hadoop user interfaces URL. Having the ability to setup Quicklinks through Knox so instead of for example going to "Hbase Master UI" directly we can proxy through Knox for example: http://hdpjeff1.fyre.ibm.com:16010/master-status
      can be instead go through: https://hdpjeff1.fyre.ibm.com:8443/gateway/default/hbase/hbaseui/master-status
      Here https://hdpjeff1.fyre.ibm.com:8443/gateway is the Knox gateway URL.
      This will bring authentication to the UI access and would secure the UI access.
      Ideally this behavior can be set as secure going through proxy by default or it can be turn off to go directly by Ambari Admin.

      Changes added:
      1. Add new json properties knox_url, knox_path, supports_knox
      a. knox_url: template to be used for urls that are proxied through Knox
      b. knox_path: Knox gateway path that will be added to the proxy url.
      c. supports_knox: whether link will be redirected through Knox
      2. Add above json properties to quicklinks.json
      3. Add HDFSUI & DATANODE,YARNUI & NODEUI, JOBHISTORYUI, HBASEUI, OOZIEUI, SPARKUI services to Knox topology template.
      4. Automate protocol and port added to Knox topology file. Based on whether SSL is enabled for the services listed above, the port and protocol in params_linux.py will be updated.
      5. Update quick_view_link_view.js so that when Knox is installed and support_knox is true, quicklink url follows knox url template specified in the quicklinks.json for the service/component.

      1. AMBARI-21325.patch
        29 kB
        Chandana Mirashi

        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/12876678/AMBARI-21325.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 release audit. The applied patch does not increase the total number of release audit warnings.

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

        -1 core tests. The test build failed in ambari-server

        Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11774//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/12876678/AMBARI-21325.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 release audit . The applied patch does not increase the total number of release audit warnings. +1 javac . The applied patch does not increase the total number of javac compiler warnings. -1 core tests . The test build failed in ambari-server Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11774//console This message is automatically generated.
        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/12877147/AMBARI-21325.patch
        against trunk revision .

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

        +1 tests included. The patch appears to include 1 new or modified test files.

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

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

        -1 core tests. The test build failed in ambari-web

        Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11784//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/12877147/AMBARI-21325.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 javac . The applied patch does not increase the total number of javac compiler warnings. -1 core tests . The test build failed in ambari-web Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11784//console This message is automatically generated.
        Hide
        bsari Balázs Bence Sári added a comment -

        Hey Chandana Mirashi, could you please add a review board link?

        Show
        bsari Balázs Bence Sári added a comment - Hey Chandana Mirashi , could you please add a review board link?
        Hide
        cmirashi Chandana Mirashi added a comment -

        Balázs Bence Sári
        I have not yet created review board request as one of ambari-web test failed for the previous patch.

        Show
        cmirashi Chandana Mirashi added a comment - Balázs Bence Sári I have not yet created review board request as one of ambari-web test failed for the previous patch.

          People

          • Assignee:
            cmirashi Chandana Mirashi
            Reporter:
            jeffreyr97 Jeffrey E Rodriguez
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 336h
              336h
              Remaining:
              Remaining Estimate - 336h
              336h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development