> On May 29, 2015, 10:28 p.m., Andrew Onischuk wrote:
> > ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/admin-properties.xml,
> >  line 101
> > <https://reviews.apache.org/r/34824/diff/1/?file=974578#file974578line101>
> >
> >     Cannot we just substitute {{ranger_host}} here?
> 
> Gautam Borad wrote:
>     Andrew, we cannot substitute this property because there are scenarios 
> like: https, loadbalancer etc. where we would want the user to enter this 
> value.
> 
> Andrew Onischuk wrote:
>     What about providing default, and in that scenarios ask to change?

Users were missing this field when we keep localhost as default. This caused 
some confusions and we decided to make the entry blank, so user can fill the 
right value.


- Gautam


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


On May 30, 2015, 11:43 a.m., Gautam Borad wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34824/
> -----------------------------------------------------------
> 
> (Updated May 30, 2015, 11:43 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Aleksandr Kovalenko, Andrew 
> Onischuk, Selvamohan Neethiraj, Srimanth Gunturi, and Velmurugan Periasamy.
> 
> 
> Bugs: AMBARI-11537
>     https://issues.apache.org/jira/browse/AMBARI-11537
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Added the following fixes for Ranger to support SSL with new properties
> 1] conf/cert/unixauthservice.jks file is not copied during install
> 2] UnixAuthenticationService is looking for usersync.ssl.key.password, but 
> Ambari setup scripts are updating the credential store with 
> usersync_ssl_key_password.
> 3] Use ranger.service.http.port instead of kms_port (in KMS)
> 
> 
> Diffs
> -----
> 
>   
> ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py
>  cfa51da 
>   
> ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/admin-properties.xml
>  1862f37 
>   
> ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
>  7a6dacf 
>   
> ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/service_check.py
>  0a2f5ae 
>   
> ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
>  d845eb4 
>   
> ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/configuration/ranger-kms-audit.xml
>  7052dbc 
>   
> ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/configuration/ranger-kms-policymgr-ssl.xml
>  b0f56a5 
>   
> ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/configuration/ranger-kms-site.xml
>  5446dcd 
>   
> ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms.py
>  9f274bc 
>   
> ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/params.py
>  9b806eb 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/configuration/ranger-hbase-audit.xml
>  b7f80b9 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/configuration/ranger-hbase-policymgr-ssl.xml
>  43d5050 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/ranger-hdfs-audit.xml
>  a2b6362 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/ranger-hdfs-policymgr-ssl.xml
>  0c57c23 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/ranger-hive-audit.xml
>  057978f 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/ranger-hive-policymgr-ssl.xml
>  12c4c51 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/KAFKA/configuration/ranger-kafka-audit.xml
>  6aa5101 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/KAFKA/configuration/ranger-kafka-policymgr-ssl.xml
>  ecf0cc0 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-audit.xml
>  d20a68b 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-admin-site.xml
>  b9da3a5 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
>  acd77a1 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/STORM/configuration/ranger-storm-audit.xml
>  ad08922 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-audit.xml
>  776b000 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-policymgr-ssl.xml
>  026c80b 
>   ambari-server/src/test/python/stacks/2.2/RANGER/test_ranger_admin.py 
> 8448bf5 
>   ambari-server/src/test/python/stacks/2.2/RANGER/test_ranger_usersync.py 
> 6464efc 
>   ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-default.json 
> PRE-CREATION 
>   ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-secured.json 
> PRE-CREATION 
>   ambari-web/app/data/HDP2.3/site_properties.js 3527e17 
> 
> Diff: https://reviews.apache.org/r/34824/diff/
> 
> 
> Testing
> -------
> 
> Tested on a centos6 clusted with Ranger / Ranger KMS and enabled SSL.
> 
> ----------------------------------------------------------------------
> Ran 235 tests in 7.472s
> 
> OK
> ----------------------------------------------------------------------
> Total run:744
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Gautam Borad
> 
>

Reply via email to