Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13840

Implement getUsed() for ViewFileSystem

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha2
    • viewfs
    • None

    Description

      ViewFileSystem doesn't override FileSystem#getUSed(). So, when file system used space is queried for slash root "/" paths, the default implementations tries to run the getContentSummary which crashes on seeing unexpected mount points under slash.

      ViewFileSystem#getUsed() is not expected to collate all the space used from all the mount points configured under "/". Proposal is to avoid invoking FileSystem#getUsed() and throw NotInMountPointException until LinkMergeSlash is supported.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            manojg Manoj Govindassamy Assign to me
            manojg Manoj Govindassamy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment