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
{{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