You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/11 11:11:00 UTC

[jira] [Updated] (HDFS-16162) Improve DFSUtil#checkProtectedDescendants() related parameter comments

     [ https://issues.apache.org/jira/browse/HDFS-16162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDFS-16162:
----------------------------------
    Labels: pull-request-available  (was: )

> Improve DFSUtil#checkProtectedDescendants() related parameter comments
> ----------------------------------------------------------------------
>
>                 Key: HDFS-16162
>                 URL: https://issues.apache.org/jira/browse/HDFS-16162
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: JiangHua Zhu
>            Assignee: JiangHua Zhu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Some parameter comments related to DFSUtil#checkProtectedDescendants() are missing, for example:
>     /**
>      * If the given directory has any non-empty protected descendants, throw
>      * (Including itself).
>      *
>      * @param iip directory, to check its descendants.
>      * @throws AccessControlException if it is a non-empty protected descendant
>      *                                found.
>      * @throws ParentNotDirectoryException
>      * @throws UnresolvedLinkException
>      */
>     public static void checkProtectedDescendants(
>         FSDirectory fsd, INodesInPath iip)
>             Throw AccessControlException, UnresolvedLinkException,
>             ParentNotDirectoryException {
> The description of fsd is missing here.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org