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

Madhan Neethiraj updated RANGER-4332:
-------------------------------------
    Fix Version/s: 2.5.0

> 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
>            Priority: Major
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: RANGER-4332.patch
>
>
> 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)

Reply via email to