mneethiraj opened a new pull request, #535: URL: https://github.com/apache/ranger/pull/535
## What changes were proposed in this pull request? Updated to call `closeFileIfNeeded()` only from `getLogFileStream()`, to avoid one thread closing the file which is being written by another thread. ## How was this patch tested? Configured plugin to rollover audit log every 3 minutes, generated audits for a long duration and verified that the errors reported in the JIRA are no more seen. ``` xasecure.audit.destination.hdfs.file.rollover.enable.periodic.rollover=true xasecure.audit.destination.hdfs.file.rollover.periodic.rollover.check.sec=180 xasecure.audit.destination.hdfs.file.rollover.period=3m ``` -- 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: dev-unsubscr...@ranger.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org