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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • trunk, 2.5.2, 2.5.3
    • None
    • None
    • 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.

      Attachments

        1. 21325_test_results.zip
          264 kB
          Chandana Mirashi
        2. AMBARI-21325.patch
          30 kB
          Chandana Mirashi
        3. AMBARI-21325-rebased_v3.patch
          43 kB
          Balázs Bence Sári
        4. AMBARI-21325-rebased.patch
          30 kB
          Balázs Bence Sári

        Issue Links

          Activity

            People

              cmirashi Chandana Mirashi
              jeffreyr97 Jeffrey E Rodriguez
              Votes:
              1 Vote for this issue
              Watchers:
              7 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