[ 
https://issues.apache.org/jira/browse/RANGER-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15875682#comment-15875682
 ] 

Qiang Zhang commented on RANGER-1387:
-------------------------------------

[~coheigea], RANGER-900 removed AUDIT DB Configuration from install.properties 
of Ranger plugin,
please see [commit 
log|https://issues.apache.org/jira/secure/attachment/12853696/Ranger900commit.log],so
 Ranger plugin would not be able to connect to database(mysql,oracle,etc),
in fact SQL_CONNECTOR_JAR can not get db connection without db configuration.
These configurations are related, they should work together rather than left 
any one of them.
So I think remove it is resonable now.
{noformat}
# AUDIT DB Configuration
# 
#  This information should match with the one you specified during the 
PolicyManager Installation
# 
# Example:
# XAAUDIT.DB.IS_ENABLED=true
# XAAUDIT.DB.FLAVOUR=MYSQL
# XAAUDIT.DB.FLAVOUR=ORACLE
# XAAUDIT.DB.HOSTNAME=localhost
# XAAUDIT.DB.DATABASE_NAME=ranger_audit
# XAAUDIT.DB.USER_NAME=rangerlogger
# XAAUDIT.DB.PASSWORD=rangerlogger
#
XAAUDIT.DB.IS_ENABLED=false
XAAUDIT.DB.FLAVOUR=MYSQL
XAAUDIT.DB.HOSTNAME=
XAAUDIT.DB.DATABASE_NAME=
XAAUDIT.DB.USER_NAME=
XAAUDIT.DB.PASSWORD=
{noformat}

> Remove unused SQL_CONNECTOR_JAR in install.properties of ranger plugin
> ----------------------------------------------------------------------
>
>                 Key: RANGER-1387
>                 URL: https://issues.apache.org/jira/browse/RANGER-1387
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.0
>
>         Attachments: 
> 0001-RANGER-1387-Remove-unused-SQL_CONNECTOR_JAR-in-insta.patch, 
> Ranger900commit.log
>
>
> There is configuration SQL_CONNECTOR_JAR in install.properties of ranger 
> plugin(hdfs,hive,etc),
> it is used to store audit data in database(mysql,oracle,etc) by ranger plugin.
> As ranger does not support to store audit data in database any more,
> please refer RANGER-900:Remove support for DB based auditing,
> so SQL_CONNECTOR_JAR is useless when user install ranger plugin.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to