-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36568/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-12448
https://issues.apache.org/jira/browse/AMBARI-12448
Repository: ambari
Description
-------
When installing Ranger on Ambari 2.1.0-1426 with 2.3.0.0-2553 with non-root
server/agent, umask 027 the Ranger Admin Install fails with the following
error:
resource_management.core.exceptions.Fail: Execution of 'python
/usr/hdp/current/ranger-admin/dba_script.py -q' returned 1. Traceback (most
recent call last):
File "/usr/hdp/current/ranger-admin/dba_script.py", line 1412, in <module>
main(sys.argv)
File "/usr/hdp/current/ranger-admin/dba_script.py", line 1104, in main
populate_global_dict()
File "/usr/hdp/current/ranger-admin/dba_script.py", line 63, in
populate_global_dict
read_config_file =
open(os.path.join(RANGER_ADMIN_HOME,'install.properties'))
IOError: [Errno 13] Permission denied:
'/usr/hdp/current/ranger-admin/install.properties'
Diffs
-----
ambari-common/src/main/python/resource_management/core/providers/system.py
db29e2c
ambari-common/src/main/python/resource_management/core/sudo.py 740eea3
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
3556ed1
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
dd41370
Diff: https://reviews.apache.org/r/36568/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk