hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8015) ChRootFileSystem should extend FilterFileSystem
Date Thu, 02 Feb 2012 23:42:53 GMT

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

Hudson commented on HADOOP-8015:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1719 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1719/])
    HADOOP-8015  ChRootFileSystem should extend FilterFileSystem (Daryn Sharp via bobby)

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1239924
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java

                
> ChRootFileSystem should extend FilterFileSystem
> -----------------------------------------------
>
>                 Key: HADOOP-8015
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8015
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.23.1
>
>         Attachments: HADOOP-8015.patch
>
>
> {{ChRootFileSystem}} simply extends {{FileSystem}}, and attempts to delegate some methods
to the underlying mount point.  It is essentially the same as {{FilterFileSystem}} but it
mangles the paths to include the chroot path.  Unfortunately {{ChRootFileSystem}} is not delegating
some methods that should be delegated.  Changing the inheritance will prevent a copy-n-paste
of code for HADOOP-8013 and HADOOP-8014 into both {{ChRootFileSystem}} and {{FilterFileSystem}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message