Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.6.1
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
- links to