You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Manoj Govindassamy (JIRA)" <ji...@apache.org> on 2016/11/29 02:08:58 UTC

[jira] [Created] (HADOOP-13840) Implement getUsed() for ViewFileSystem

Manoj Govindassamy created HADOOP-13840:
-------------------------------------------

             Summary: Implement getUsed() for ViewFileSystem
                 Key: HADOOP-13840
                 URL: https://issues.apache.org/jira/browse/HADOOP-13840
             Project: Hadoop Common
          Issue Type: Task
          Components: viewfs
    Affects Versions: 3.0.0-alpha1
            Reporter: Manoj Govindassamy
            Assignee: Manoj Govindassamy


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org