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 4A064906B for ; Thu, 2 Feb 2012 22:11:22 +0000 (UTC) Received: (qmail 57605 invoked by uid 500); 2 Feb 2012 22:11:21 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 57262 invoked by uid 500); 2 Feb 2012 22:11:21 -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 57224 invoked by uid 99); 2 Feb 2012 22:11:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 22:11:21 +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 22:11:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 42481189B9A for ; Thu, 2 Feb 2012 22:10:57 +0000 (UTC) Date: Thu, 2 Feb 2012 22:10:57 +0000 (UTC) From: "Daryn Sharp (Updated) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1116051775.5063.1328220657273.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <816653796.4123.1328209137345.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-8015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daryn Sharp updated HADOOP-8015: -------------------------------- Attachment: HADOOP-8015.patch No functional changes, so no tests included. Existing tests will prove it works. > 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 > 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