You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2014/05/12 23:10:15 UTC
[jira] [Resolved] (HDFS-6341) Clean up audit logging in
FSNamesystem xattr methods
[ 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)