Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 64877 invoked from network); 13 May 2010 23:38:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 May 2010 23:38:04 -0000 Received: (qmail 74163 invoked by uid 500); 13 May 2010 23:38:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 74074 invoked by uid 500); 13 May 2010 23:38:04 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 74066 invoked by uid 99); 13 May 2010 23:38:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 23:38:04 +0000 X-ASF-Spam-Status: No, hits=-1424.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 23:38:03 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4DNbh1i014875 for ; Thu, 13 May 2010 23:37:43 GMT Message-ID: <23187191.29711273793863800.JavaMail.jira@thor> Date: Thu, 13 May 2010 19:37:43 -0400 (EDT) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-1152) appendFile does not recheck lease in second synchronized block In-Reply-To: <31678543.29691273793863514.JavaMail.jira@thor> 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/HDFS-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HDFS-1152: ------------------------------ Attachment: appendFile-recheck-lease.txt I had attached this same patch to HDFS-142, but then realized it is a problem on trunk as well. This is the 0.20-append version -- I'll write a patch that applies to trunk as well. > appendFile does not recheck lease in second synchronized block > -------------------------------------------------------------- > > Key: HDFS-1152 > URL: https://issues.apache.org/jira/browse/HDFS-1152 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.21.0 > Reporter: Todd Lipcon > Attachments: appendFile-recheck-lease.txt > > > FSN.appendFile is made up of two synchronized sections. The second section assumes that the file has not gotten modified during the unsynchronized part in between. We should recheck the lease in the second block. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.