Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16162

Improve DFSUtil#checkProtectedDescendants() related parameter comments

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jianghuazhu JiangHua Zhu
              jianghuazhu JiangHua Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h