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 "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2021/08/17 08:48:00 UTC
[jira] [Resolved] (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 ]
Wei-Chiu Chuang resolved HDFS-16162.
------------------------------------
Fix Version/s: 3.4.0
Resolution: Fixed
> Improve DFSUtil#checkProtectedDescendants() related parameter comments
> ----------------------------------------------------------------------
>
> Key: HDFS-16162
> URL: https://issues.apache.org/jira/browse/HDFS-16162
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: documentation
> Reporter: JiangHua Zhu
> Assignee: JiangHua Zhu
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
> Time Spent: 1h 20m
> 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org