Description
Ranger audit stores complete query as it is in audit logs. If the single query size is too large (i.e reqData > 10MB) it consumes large heap size on hive plugin size. When similar 200-300 queries are executed simultaneously, ranger audit takes up more than half of the heap.
We need to configure ranger to limit the query size stored in Audit logs. We can set value for config "xasecure.audit.solr.limit.query.req.size" in ranger-hive-audit.xml Recommended value is 1024; however default value is set to Integer.MAX_VALUE
Attachments
Issue Links
- links to