Created 11-06-2015 08:37 PM
ENV: Ambari 2.1.2, Ranger:0.5.0.2.3
HDFS/HIVE plugin configured, tried Audit logs to HDFS and changed to DB(Oracle 12c)
/var/log/ranger/admin/xa_portal.log reports following error.
2015-11-06 15:30:05,987 [http-bio-6080-exec-3] INFO org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:311) - Operation error. response=VXResponse={org.apache.ranger.view.VXResponse@2a7e763statusCode={1} msgDesc={Error running query} messageList={[VXMessage={org.apache.ranger.view.VXMessage@6d64c8e4name={ERROR_SYSTEM} rbKey={xa.error.system} message={System Error. Please try later.} objectId={null} fieldName={null} }]} } javax.ws.rs.WebApplicationException
Created 11-08-2015 12:58 PM
Please add more information from the logs.
check ranger.audit.source.type in Ranger and make sure its set to the method that you want to choose.
Created 11-08-2015 12:58 PM
Please add more information from the logs.
check ranger.audit.source.type in Ranger and make sure its set to the method that you want to choose.
Created 11-10-2015 01:53 PM
Thank you Neeraj, after change of ranger.audit.source.type from solr to db, ranger portal sees the logs.
Created 11-10-2015 02:17 PM
Created 11-09-2015 05:22 PM
Audit logging happens in the plugin. Please review HS2 and NN logs for cause.
Created 11-09-2015 09:28 PM
Thank you Al.
xa_portal.log shows following error, look like ranger portal expecting ranger_audits in solar, which we didn't installed. Customer opened support case, waiting for support response.
2015-11-09 13:30:15,027 [http-bio-6080-exec-6] ERROR org.apache.ranger.solr.SolrUtil (SolrUtil.java:79) - Error from Solr server. org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at: http://solr_host:6083/solr/ranger_audits at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:572) at