hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8105) FilterFileSystem should delegate initialize rather than use super
Date Thu, 23 Feb 2012 04:31:48 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eli Collins updated HADOOP-8105:
--------------------------------

    Summary: FilterFileSystem should delegate initialize rather than use super  (was: HADOOP-8013
breaks the Hive 0.8 tests)
    
> 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.
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

        

Mime
View raw message