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

Implement getUsed() for ViewFileSystem

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: viewfs
    • Labels:
      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

        1. HADOOP-13840.01.patch
          3 kB
          Manoj Govindassamy
        2. HADOOP-13840.02.patch
          3 kB
          Manoj Govindassamy

          Activity

            People

            • Assignee:
              manojg Manoj Govindassamy
              Reporter:
              manojg Manoj Govindassamy

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment