[
https://issues.apache.org/jira/browse/HDFS-4994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740385#comment-13740385
]
Kihwal Lee commented on HDFS-4994:
----------------------------------
I know getListingInt() does it too, but it will be better if we do logAudit()
outside of the FSNamespace lock. We could catch AccessControlException, record
the failure, then rethrow. In the finally block, we can then call logAudit()
with false if a failure was recorded, otherwise call it with true.
> Audit log getContentSummary() calls
> -----------------------------------
>
> Key: HDFS-4994
> URL: https://issues.apache.org/jira/browse/HDFS-4994
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 0.23.9, 2.3.0
> Reporter: Kihwal Lee
> Assignee: Robert Parker
> Priority: Minor
> Labels: newbie
> Attachments: HDFS-4994_branch-0.23.patch, HDFS-4994.patch
>
>
> Currently there getContentSummary() calls are not logged anywhere. It should
> be logged in the audit log.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira