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

Review request for ranger, Alok Lal, Don Bosco Durai, Abhay Kulkarni, Madhan 
Neethiraj, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.


Bugs: RANGER-741
    https://issues.apache.org/jira/browse/RANGER-741


Repository: ranger


Description
-------

Gaurd all audit db related shell script code with if condition based on the 
audit source type set in install.properties


Diffs
-----

  kms/scripts/dba_script.py 06a6a8c886e6ec52ea9dd6eb7689d23512c77fd5 
  security-admin/scripts/dba_script.py 5564737b12c60d30e018177086e8ed70a2315dd3 
  security-admin/scripts/setup.sh 8b67f984e95bb75feb98e5eb6be6b19615ed6c7e 

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


Testing
-------

**Env:**

OS : Linux
DataBase : MySQL/Any

**Issue:** Ranger install script fails if audit db password is not provided and 
audit source is 'solr' 
**Steps Performed:** a) Selected audit source type as solr.
b) Provided invalid/blank password as Audit to DB password.
c) Run the setup script, installation fails.
**Expected Result:** On Ranger installation even if user chooses to not use 
Audit to DB, install script calls password validation method to validate 
password and installation fails if audit db password is not provided.
**Actual Result:** If user chooses to not use audit to DB as audit source then 
installation script should not do any audit db related password validation and 
audit to DB related properties should not be updated.


Thanks,

Gautam Borad

Reply via email to