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

(Updated Feb. 20, 2017, 3:48 p.m.)


Review request for Ambari, Alejandro Fernandez, Gautam Borad, Mugdha Varadkar, 
Oliver Szabo, Sumit Mohanty, and Velmurugan Periasamy.


Changes
-------

revised code to optimize logic.


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


Repository: ambari


Description
-------

The property REPOSITORY_CONFIG_USERNAME in Advanced ranger-*-plugin-properties 
is not updated to the custom user-name when services are using custom users.
This causes issues especially in cases of Test connection, and policy user 
which is given default permissions in Ranger.


Diffs (updated)
-----

  
ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py
 56c46dd 
  
ambari-server/src/main/resources/stacks/HDP/2.6/services/ATLAS/configuration/ranger-atlas-plugin-properties.xml
 d8885e5 
  
ambari-server/src/main/resources/stacks/HDP/2.6/services/HBASE/configuration/ranger-hbase-plugin-properties.xml
 d8885e5 
  
ambari-server/src/main/resources/stacks/HDP/2.6/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml
 6e93879 
  
ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/ranger-hive-plugin-properties.xml
 d8885e5 
  
ambari-server/src/main/resources/stacks/HDP/2.6/services/KAFKA/configuration/ranger-kafka-plugin-properties.xml
 d8885e5 
  
ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/ranger-yarn-plugin-properties.xml
 d8885e5 
  ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py 
3dd1bdd 
  ambari-server/src/test/python/stacks/2.6/common/test_stack_advisor.py c15eaf1 

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


Testing
-------

Verified with a fresh installation on CentOS-6.


Thanks,

Vishal Suvagia

Reply via email to