[
https://issues.apache.org/jira/browse/AMBARI-23011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456270#comment-16456270
]
Hudson commented on AMBARI-23011:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9135 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/9135/])
AMBARI-23011 Ranger LB URL is pointing to ranger port by default when we
(1963907+atkach:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=984bd4e2b603a8acf928b2c6359bb702b9f93cc8])
* (edit) ambari-web/app/views/common/quick_view_link_view.js
> 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)