Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 88113 invoked from network); 25 Mar 2008 07:15:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2008 07:15:33 -0000 Received: (qmail 5549 invoked by uid 500); 25 Mar 2008 07:15:31 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 5524 invoked by uid 500); 25 Mar 2008 07:15:30 -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 5515 invoked by uid 99); 25 Mar 2008 07:15:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 00:15:30 -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; Tue, 25 Mar 2008 07:14:48 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3DF22234C09E for ; Tue, 25 Mar 2008 00:13:24 -0700 (PDT) Message-ID: <1766300740.1206429204238.JavaMail.jira@brutus> Date: Tue, 25 Mar 2008 00:13:24 -0700 (PDT) From: "dhruba borthakur (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3083) Remove lease when file is renamed In-Reply-To: <1585489505.1206396324232.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-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] dhruba borthakur updated HADOOP-3083: ------------------------------------- Attachment: leaseIgnoreExceptions.patch Here is a patch that does not throw an exception if a dangling lease is found while saving an fsimage. This is a stop-gap solution so that existing hdfs installs continue to work. A better solution to avoid dangling leases have to be worked out. > Remove lease when file is renamed > --------------------------------- > > Key: HADOOP-3083 > URL: https://issues.apache.org/jira/browse/HADOOP-3083 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Reporter: dhruba borthakur > Assignee: dhruba borthakur > Attachments: leaseIgnoreExceptions.patch > > > When a file/directory is removed, the namenode should remove lease(s) for files that were affected by the rename. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.