Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 95895 invoked from network); 17 Mar 2008 22:42:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2008 22:42:18 -0000 Received: (qmail 27299 invoked by uid 500); 17 Mar 2008 22:42:14 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 27272 invoked by uid 500); 17 Mar 2008 22:42:14 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 27263 invoked by uid 99); 17 Mar 2008 22:42:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 15:42:14 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 22:41:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B6EAA234C0A1 for ; Mon, 17 Mar 2008 15:40:28 -0700 (PDT) Message-ID: <123017077.1205793628748.JavaMail.jira@brutus> Date: Mon, 17 Mar 2008 15:40:28 -0700 (PDT) From: "Mahadev konar (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3025) ChecksumFileSystem needs to support the new delete method In-Reply-To: <209044586.1205674824280.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated HADOOP-3025: ---------------------------------- Attachment: HADOOP_3025_3.patch this patch includes a test... and remves windows lien delimiters in the file also... > ChecksumFileSystem needs to support the new delete method > --------------------------------------------------------- > > Key: HADOOP-3025 > URL: https://issues.apache.org/jira/browse/HADOOP-3025 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Affects Versions: 0.17.0 > Reporter: Devaraj Das > Assignee: Mahadev konar > Priority: Blocker > Fix For: 0.17.0 > > Attachments: HADOOP_3025_1.patch, HADOOP_3025_2.patch, HADOOP_3025_3.patch > > > The method FileSystem.delete(path) has been deprecated in favor of the new method delete(path, recursive). Temporary files gets created in the MapReduce framework and when the time for deletion comes, they are deleted via delete(path, recursive). This doesn't delete the associated checksum files. This has a big impact when the FileSystem is the InMemoryFileSystem, where space is at a premium and wasting space here might hurt the performance of MapReduce jobs overall. One solution to this problem is to implement the method delete(path, recursive) in the ChecksumFileSystem but is there is a reason why it was left out as part of HADOOP-771? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.