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

Ranger LB URL is pointing to ranger port by default when we click on Quick link

    XMLWordPrintableJSON

Details

    Description

      For Ranger HA, when we give External url as LB url and port (LB:port), but when we click on quick link is pointing to LB url, but it is using ranger port(6080 or 6182 depend it's http or https).

      Below code snippet - reading the host name from policymgr_external_url and then using default ranger port.

      } else if (serviceName === 'RANGER') {
            var siteConfigs = this.get('configProperties').findProperty('type', 'admin-properties').properties;
            if (siteConfigs['policymgr_external_url']) {
              host = siteConfigs['policymgr_external_url'].split('://')[1].split(':')[0];
               var newItem = {};
              newItem.url = siteConfigs['policymgr_external_url'];
              newItem.label = link.label;
               return newItem;
              }
          }
      

      Attachments

        Issue Links

          Activity

            People

              atkach Andrii Tkach
              apappu@hortonworks.com amarnath reddy pappu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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