You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2013/06/19 19:05:26 UTC
[jira] [Commented] (HADOOP-8015) ChRootFileSystem should extend
FilterFileSystem
[ https://issues.apache.org/jira/browse/HADOOP-8015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13688161#comment-13688161 ]
Suresh Srinivas commented on HADOOP-8015:
-----------------------------------------
[~revans2] Given that this is in 0.23, could you please merge this to branch-2 and branch-2.1.0-beta?
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira