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

Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Jonathan Hurley, 
Mahadev Konar, Sumit Mohanty, Selvamohan Neethiraj, and Velmurugan Periasamy.


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


Repository: ambari


Description
-------

**PROBLEM:**
Ranger KMS installation fails if log dir for Ranger KMS is not present.

**PROPOSED SOLUTION:**
Current implementation provides the permissions to the log dir, but it doesn't 
create the log dir if log dir is not present. 
Need to create the log directory if it does not exist.


Diffs
-----

  
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
 fcceaa6 
  
ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms.py
 7c7a7c8 

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


Testing
-------

1) Tested Ranger KMS install by setting a non-existing log directory and 
verified that log directory is getting created and logs are getting saved in 
that directory.

2) Verified Ranger KMS install by setting a existing directory as a log 
directory and verified logs are getting saved in that directory.


Thanks,

Gautam Borad

Reply via email to