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 4E3959032 for ; Thu, 2 Feb 2012 23:35:17 +0000 (UTC) Received: (qmail 88484 invoked by uid 500); 2 Feb 2012 23:35:16 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 88129 invoked by uid 500); 2 Feb 2012 23:35:15 -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 88108 invoked by uid 99); 2 Feb 2012 23:35:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 23:35:15 +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, 02 Feb 2012 23:35:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 254B8189566 for ; Thu, 2 Feb 2012 23:34:54 +0000 (UTC) Date: Thu, 2 Feb 2012 23:34:54 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <102113350.5595.1328225694154.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <816653796.4123.1328209137345.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8015) ChRootFileSystem should extend FilterFileSystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199364#comment-13199364 ] Hudson commented on HADOOP-8015: -------------------------------- Integrated in Hadoop-Hdfs-0.23-Commit #465 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/465/]) svn merge -c 1239924 fixes HADOOP-8015 bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1239925 Files : * /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java * /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java > 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira