[
https://issues.apache.org/jira/browse/AMBARI-23011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrii Tkach resolved AMBARI-23011.
-----------------------------------
Resolution: Fixed
> Ranger LB URL is pointing to ranger port by default when we click on Quick
> link
> -------------------------------------------------------------------------------
>
> Key: AMBARI-23011
> URL: https://issues.apache.org/jira/browse/AMBARI-23011
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.6.1
> Reporter: amarnath reddy pappu
> Assignee: Andrii Tkach
> Priority: Major
> Labels: pull-request-available
> Fix For: trunk, 2.6.2
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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.
> {noformat}
> } 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;
> }
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)