Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 28363 invoked from network); 16 Apr 2008 05:01:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2008 05:01:33 -0000 Received: (qmail 39508 invoked by uid 500); 16 Apr 2008 05:01:30 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 39278 invoked by uid 500); 16 Apr 2008 05:01:29 -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 39223 invoked by uid 99); 16 Apr 2008 05:01:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 22:01:29 -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; Wed, 16 Apr 2008 05:00:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 68C83234C0D3 for ; Tue, 15 Apr 2008 21:58:21 -0700 (PDT) Message-ID: <1498472081.1208321901427.JavaMail.jira@brutus> Date: Tue, 15 Apr 2008 21:58:21 -0700 (PDT) From: "dhruba borthakur (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3176) Change lease record when a open-for-write-file gets renamed In-Reply-To: <265539455.1207341684390.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-3176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] dhruba borthakur updated HADOOP-3176: ------------------------------------- Resolution: Fixed Fix Version/s: 0.18.0 Status: Resolved (was: Patch Available) I just committed this. > Change lease record when a open-for-write-file gets renamed > ----------------------------------------------------------- > > Key: HADOOP-3176 > URL: https://issues.apache.org/jira/browse/HADOOP-3176 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Reporter: dhruba borthakur > Assignee: dhruba borthakur > Fix For: 0.18.0 > > Attachments: danglingLease.patch, danglingLease2.patch > > > When a file/directory is removed, the namenode should repair the leases so that the existing leases point to the appropriate file. The lease record has the pathname of the file that it refers to. > This is required because the namenode has to invoke lease-recovery on the correct file if the client that was writing to a file dies. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.