[
https://issues.apache.org/jira/browse/HDFS-16162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JiangHua Zhu reassigned HDFS-16162:
-----------------------------------
Assignee: JiangHua Zhu
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]