[ 
https://issues.apache.org/jira/browse/HADOOP-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15710650#comment-15710650
 ] 

Hudson commented on HADOOP-13840:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10922 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/10922/])
HADOOP-13840. Implement getUsed() for ViewFileSystem. Contributed by (wang: rev 
1f7613be958bbdb735fd2b49e3f0b48e2c8b7c13)
* (edit) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemBaseTest.java
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java


> 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
>             Fix For: 3.0.0-alpha2
>
>         Attachments: HADOOP-13840.01.patch, HADOOP-13840.02.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to