Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 187FF9B4A for ; Thu, 23 Feb 2012 04:40:12 +0000 (UTC) Received: (qmail 97539 invoked by uid 500); 23 Feb 2012 04:40:11 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 97398 invoked by uid 500); 23 Feb 2012 04:40:11 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 97221 invoked by uid 99); 23 Feb 2012 04:40:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 04:40:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 04:40:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 99D4033554C for ; Thu, 23 Feb 2012 04:39:48 +0000 (UTC) Date: Thu, 23 Feb 2012 04:39:48 +0000 (UTC) From: "Eli Collins (Updated) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <627742400.8162.1329971988631.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1877676527.8138.1329971268788.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-8105) FilterFileSystem should delegate initialize rather than use super MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8105?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HADOOP-8105: -------------------------------- Description: The FilterFileSystem javadoc says "The class FilterFileSys= tem itself simply overrides all methods of FileSystem with versions that pa= ss all requests to the contained file system." initialize(URI, Configuratio= n) is part of the FileSystem API, and before HADOOP-8013 it simply called f= s.initialize(). After HADOOP-8013 it calls super.initialize() rather than d= elegating. This breaks a number of the Hive tests. Hive's ProxyLocalFileSys= tem would be able to work around this problem by calling setConf, but unfor= tunately FilterFileSystem does not override that method. We need to make Fi= lterFileSystem call fs.initialize (instead of using super) and also overrid= e setConf. (was: The FilterFileSystem javadoc says "The class FilterFileSy= stem itself simply overrides all methods of FileSystem with versions that p= ass all requests to the contained file system." initialize(URI, Configurati= on) 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 p= roblem by calling setConf, but unfortunately FilterFileSystem does not over= ride that method. We need to make FilterFileSystem call fs.initialize (inst= ead of using super) and also override setConf.) =20 > 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 simp= ly overrides all methods of FileSystem with versions that pass all requests= to the contained file system." initialize(URI, Configuration) is part of t= he 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 ab= le to work around this problem by calling setConf, but unfortunately Filter= FileSystem 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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira