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

Implement getUsed() for ViewFileSystem

    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

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: