[ https://issues.apache.org/jira/browse/RANGER-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qiang Zhang updated RANGER-1745: -------------------------------- Summary: From code logic analysis, we should optimize the flush function of HDFSAuditDestination class. (was: From the performance and code logic analysis, we should optimize the flush function of HDFSAuditDestination class.) > From code logic analysis, we should optimize the flush function of > HDFSAuditDestination class. > ---------------------------------------------------------------------------------------------- > > Key: RANGER-1745 > URL: https://issues.apache.org/jira/browse/RANGER-1745 > Project: Ranger > Issue Type: Bug > Components: plugins > Affects Versions: 1.0.0, 0.7.1 > Reporter: Qiang Zhang > Assignee: Qiang Zhang > Priority: Minor > Labels: patch > Attachments: > 0001-RANGER-1745-From-the-performance-and-code-logic-anal.patch > > > From the performance and code logic analysis, we should optimize the flush > function of HDFSAuditDestination class. The reason is as following: > 1. Its logic is not clear. There are duplicate code and repeated judgment. > 2. Through my tests, in the case of large data, the log io will have a big > impact on performance. -- This message was sent by Atlassian JIRA (v6.4.14#64029)