You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2015/10/12 13:41:46 UTC

Review Request 39227: External URL (policymgr_external_ur) value in Ranger service should be recommended by stack advisor. Additional fix

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39227/
-----------------------------------------------------------

Review request for Ambari, Dmytro Sen and Vitalyi Brodetskyi.


Bugs: AMBARI-13377
    https://issues.apache.org/jira/browse/AMBARI-13377


Repository: ambari


Description
-------

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


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py b4c662a 
  ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py 7fdbf73 

Diff: https://reviews.apache.org/r/39227/diff/


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko


Re: Review Request 39227: External URL (policymgr_external_ur) value in Ranger service should be recommended by stack advisor. Additional fix

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39227/#review102241
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On Окт. 12, 2015, 11:41 д.п., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39227/
> -----------------------------------------------------------
> 
> (Updated Окт. 12, 2015, 11:41 д.п.)
> 
> 
> Review request for Ambari, Dmytro Sen and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13377
>     https://issues.apache.org/jira/browse/AMBARI-13377
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py b4c662a 
>   ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py 7fdbf73 
> 
> Diff: https://reviews.apache.org/r/39227/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>