[ https://issues.apache.org/jira/browse/HDFS-11641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964682#comment-15964682 ]
Haohui Mai edited comment on HDFS-11641 at 4/11/17 5:30 PM: ------------------------------------------------------------ Thanks for the patch! +1 pending Jenkins. was (Author: wheat9): +1 pending Jenkins. > Reduce cost of audit logging by using FileStatus instead of HdfsFileStatus > -------------------------------------------------------------------------- > > Key: HDFS-11641 > URL: https://issues.apache.org/jira/browse/HDFS-11641 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs > Affects Versions: 2.0.0-alpha > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Attachments: HDFS-11641.patch > > > Audit logging operations create a HdfsFileStatus but audit logging promptly > converts it to a FileStatus to pass to the loggers. A HdfsFileStatus is more > expensive to create, ex. multiple node to root scans for feature info that > will only be discarded in the conversion to FileStatus. Operations should > create a FileStatus to eliminate all the superfluous overhead. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org