[
https://issues.apache.org/jira/browse/HDFS-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607599#comment-13607599
]
Daryn Sharp commented on HDFS-4614:
-----------------------------------
A comment perhaps best addressed on another jira is the questionable utility of
the overall permission checking for this method. It's a recursive operation
which only checks permission to the given dir, which means I can divine
information about subdirectories for which I don't have permission. OTOH,
checking permissions of the entire tree probably isn't reasonable given how
expensive the operation already is for large namespaces.
> FSNamesystem#getContentSummary should use getPermissionChecker helper method
> ----------------------------------------------------------------------------
>
> Key: HDFS-4614
> URL: https://issues.apache.org/jira/browse/HDFS-4614
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 2.0.4-alpha
> Reporter: Aaron T. Myers
> Assignee: Aaron T. Myers
> Priority: Trivial
> Fix For: 2.0.5-beta
>
> Attachments: HDFS-4614.patch
>
>
> HDFS-4222 added this helper method and called it in most places, but missed
> one.
--
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