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 "JiangHua Zhu (Jira)" <ji...@apache.org> on 2021/08/11 09:30:00 UTC

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

JiangHua Zhu created HDFS-16162:
-----------------------------------

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org