hadoop-common-issues mailing list archives

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

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

Robert Joseph Evans commented on HADOOP-8015:

The patch looks good, and fairly simple too +1.  Let me run the HDFS unit tests and then I
will check it in.
> 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
>         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


View raw message