[
https://issues.apache.org/jira/browse/HDFS-6341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang resolved HDFS-6341.
-------------------------------
Resolution: Not a Problem
I looked at this code again, and decided that the audit logging pattern was
reasonable. Closing as not a problem.
> Clean up audit logging in FSNamesystem xattr methods
> ----------------------------------------------------
>
> Key: HDFS-6341
> URL: https://issues.apache.org/jira/browse/HDFS-6341
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: HDFS XAttrs (HDFS-2006)
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Priority: Minor
>
> We call logAuditEvent multiple times in each RPC handler, sometimes split
> across different functions. It'd be cleaner if we did this once, in a
> try/finally.
--
This message was sent by Atlassian JIRA
(v6.2#6252)