You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "peng.jianhua (JIRA)" <ji...@apache.org> on 2017/09/19 02:33:00 UTC

[jira] [Resolved] (RANGER-1793) Plugins write/read audit log fail according to configuration example in install.properties.

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

peng.jianhua resolved RANGER-1793.
----------------------------------
    Resolution: Not A Bug

> 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)