[
https://issues.apache.org/jira/browse/RANGER-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhishek Kumar resolved RANGER-4342.
------------------------------------
Resolution: Fixed
> RangerJSONAuditWriter creates new log file for writing ranger audits as JSON
> every time there is an Error/Exception
> -------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-4342
> URL: https://issues.apache.org/jira/browse/RANGER-4342
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.4.0
> Reporter: Abhishek Kumar
> Assignee: Abhishek Kumar
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Exceptions while writing ranger audits as JSON to hdfs results in closing the
> log file, the next successful write to hdfs should use the same file (for
> logging) which was closed but a new log file is created instead. This may
> cause unusually high number of audit log files to be generated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)