[ 
https://issues.apache.org/jira/browse/AMBARI-13377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Lysnichenko reopened AMBARI-13377:
-----------------------------------------

Looking at [this line in commit | 
https://github.com/apache/ambari/commit/9992147b040a695d9ebaeabadcf43d33b6598a08#diff-4c96d4c7ba09dfa8cfd6204bc3cbe7e9R274],
 it seems this will not work when stack is 2.3 and HTTPS is enabled, because 
for 2.3 'http.enabled'
in {code} services['configurations']['ranger-site']['properties’] {code} 
condition will be false and hence it will go in the else block.


> External URL (policymgr_external_ur) value in Ranger service should be 
> recommended  by stack advisor
> ----------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13377
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13377
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.1.3
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-13377.patch
>
>
> policymgr_external_url should be recommended by the stack advisor while 
> installing ranger service. it's value should be:
> $\{protocol\}://$\{RANGER_ADMIN_HOST\}:$\{PORT\}
> $\{protocol\} is http or https. Refer to property ranger-site/HTTP_ENABLED to 
> figure out if Ranger is configured with HTTP or HTTPS. If the property exists 
> and its value is false then the protocol is https.
> $\{RANGER_ADMIN_HOST\} is the fqdn of the ranger admin host.
> $\{PORT\} is ranger-admin-site/ranger.service.http.port value if it is 
> present for HDP-2.3 stack.
> $\{PORT\} is ranger-site/http.service.port value if it is present for HDP-2.2 
> stack.
> If property is not present then $\{PORT\} value is 6080



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to