fateh288 opened a new pull request, #285:
URL: https://github.com/apache/ranger/pull/285

   ## What changes were proposed in this pull request?
   
   Previously added patch for RANGER-4400 used auditEventList in 
processResults() for the collection of requests and flushed them at a later 
stage in flushAudit(). This approach results in ConcurrentModificationException 
because auditEventList can get modified (more events added) while audit events 
getting flushed. 
   Instead of collecting these audit events in an array list, this patch 
flushes the audit events while they are being processed. This prevents the 
ConcurrentModificationException as no array list is used.
   
   ## How was this patch tested?
   
   system tests with kafka


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to