Description
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.