Madhan Neethiraj created RANGER-4332:
----------------------------------------
Summary: AuditBatchQueue.log() should block instead of throwing
'Queue full' exception
Key: RANGER-4332
URL: https://issues.apache.org/jira/browse/RANGER-4332
Project: Ranger
Issue Type: Bug
Components: audit
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Ranger audit framework uses AuditBatchQueue to buffer audit logs before sending
as a batch to the destination. This helps to greatly reduce the overhead in
writing audit logs to destinations like Solr, HDFS, S3. When the buffer held in
AuditBatchQueue is full, attempts to add a log should wait until the buffer has
space . Instead, IllegalStateException("Queue full") exception is thrown, which
results in the audit log to be not sent to the destination. AuditBatchQueue
should be updated to wait until the buffer has space to add entries.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)