[
https://issues.apache.org/jira/browse/HADOOP-8105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HADOOP-8105:
--------------------------------
Description: The FilterFileSystem javadoc says "The class FilterFileSystem
itself simply overrides all methods of FileSystem with versions that pass all
requests to the contained file system." initialize(URI, Configuration) is part
of the FileSystem API, and before HADOOP-8013 it simply called fs.initialize().
After HADOOP-8013 it calls super.initialize() rather than delegating. This
breaks a number of the Hive tests. Hive's ProxyLocalFileSystem would be able to
work around this problem by calling setConf, but unfortunately FilterFileSystem
does not override that method. We need to make FilterFileSystem call
fs.initialize (instead of using super) and also override setConf. (was: The
FilterFileSystem javadoc says "The class FilterFileSystem itself simply
overrides all methods of FileSystem with versions that pass all requests to the
contained file system." initialize(URI, Configuration) is part of the
FileSystem API, and before HADOOP-8013 it simply called fs.initialize(). After
HADOOP-8013 it calls super.initialize() rather than delegating. Hive's
ProxyLocalFileSystem would be able to work around this problem by calling
setConf, but unfortunately FilterFileSystem does not override that method. We
need to make FilterFileSystem call fs.initialize (instead of using super) and
also override setConf.)
> FilterFileSystem should delegate initialize rather than use super
> -----------------------------------------------------------------
>
> Key: HADOOP-8105
> URL: https://issues.apache.org/jira/browse/HADOOP-8105
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.23.1
> Reporter: Eli Collins
> Priority: Blocker
>
> The FilterFileSystem javadoc says "The class FilterFileSystem itself simply
> overrides all methods of FileSystem with versions that pass all requests to
> the contained file system." initialize(URI, Configuration) is part of the
> FileSystem API, and before HADOOP-8013 it simply called fs.initialize().
> After HADOOP-8013 it calls super.initialize() rather than delegating. This
> breaks a number of the Hive tests. Hive's ProxyLocalFileSystem would be able
> to work around this problem by calling setConf, but unfortunately
> FilterFileSystem does not override that method. We need to make
> FilterFileSystem call fs.initialize (instead of using super) and also
> override setConf.
--
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