mneethiraj commented on PR #1115:
URL: https://github.com/apache/ranger/pull/1115#issuecomment-5109972510

   @ramackri  - Ranger doesn't support RDBMS as access audit log store since 
2.2.0 release (see RANGER-3184), so this code path is a surprise! This code 
path was taken due to couple of things:
   1. Configuration `ranger.audit.source.type` is not set in 
`ranger-admin-site.xml`
   2. Default store is still RDBMS (see the following code block)
   
   ```
   class RangerBizUtil {
       String auditDBType = AUDIT_STORE_RDBMS;
   
      ...
   }
   ```
   
   Couple of fixes to address this issue:
   1. Make sure ranger-admin-site.xml in docker setup is set to `solr` or 
`opensearch`
   3. Change the default in `RangerBizUtil` to `AUDIT_STORE_SOLR`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to