[ 
https://issues.apache.org/jira/browse/RANGER-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

WangYuan reassigned RANGER-1793:
--------------------------------

    Assignee: peng.jianhua  (was: WangYuan)

> Plugins write/read audit log fail according to configuration example in 
> install.properties.
> -------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1793
>                 URL: https://issues.apache.org/jira/browse/RANGER-1793
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 1.0.0, master
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>            Priority: Minor
>              Labels: patch
>
> Plugins write/read audit log fail according to configuration example in 
> install.properties. The error is as following when we query audit log. 
> {code}
> Error running solr query, please check solr configs. Server refused 
> connection at: http://192.168.56.101:8983/solr/ranger_audits
> {code}
> This will seriously mislead the user to properly configure the parameters.
> {code}
> # Enable audit logs to Solr
> #Example
> #XAAUDIT.SOLR.ENABLE=true
> #XAAUDIT.SOLR.URL=http://localhost:6083/solr/ranger_audits
> #XAAUDIT.SOLR.ZOOKEEPER=
> #XAAUDIT.SOLR.FILE_SPOOL_DIR=/var/log/hbase/audit/solr/spool
> {code}
> The correct sample is as follows:
> {code}
> # Enable audit logs to Solr
> #Example
> #XAAUDIT.SOLR.ENABLE=true
> #XAAUDIT.SOLR.URL=http://localhost:6083/solr
> #XAAUDIT.SOLR.ZOOKEEPER=
> #XAAUDIT.SOLR.FILE_SPOOL_DIR=/var/log/hbase/audit/solr/spool
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to