Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 25927 invoked from network); 12 Jul 2007 19:47:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2007 19:47:26 -0000 Received: (qmail 90945 invoked by uid 500); 12 Jul 2007 19:47:28 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 90647 invoked by uid 500); 12 Jul 2007 19:47:27 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 90638 invoked by uid 99); 12 Jul 2007 19:47:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 12:47:27 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 12:47:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A18A371420C for ; Thu, 12 Jul 2007 12:47:04 -0700 (PDT) Message-ID: <6490646.1184269624658.JavaMail.jira@brutus> Date: Thu, 12 Jul 2007 12:47:04 -0700 (PDT) From: "dhruba borthakur (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1583) AlreadyBeingCreatedException because pendingCreates is non-null In-Reply-To: <11171727.1184049844438.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-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] dhruba borthakur updated HADOOP-1583: ------------------------------------- Priority: Major (was: Blocker) This is not a regression from earlier releases, so i am removing the "Blocker" tag. > AlreadyBeingCreatedException because pendingCreates is non-null > --------------------------------------------------------------- > > Key: HADOOP-1583 > URL: https://issues.apache.org/jira/browse/HADOOP-1583 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.9.2 > Reporter: Konstantin Shvachko > Fix For: 0.14.0 > > > When a client lease expires the lease monitor removes it from the list of leases, but > does not release pendingCreates files. When the name-node sees a file in pendingCreates > which does not have a lease for the original client it throws AlreadyBeingCreatedException. > This was reported in several issues like HADOOP-1411, but has never been resolved. > I see two approaches: > # clean pendingCreates when leases expire, or > # reuse entries in pending creates for which there are no lease. > The first is preferable imo since it cleans memory at the right time. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.