Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 57370 invoked from network); 5 Jun 2008 22:25:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2008 22:25:07 -0000 Received: (qmail 31754 invoked by uid 500); 5 Jun 2008 22:25:09 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 31731 invoked by uid 500); 5 Jun 2008 22:25:09 -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 31720 invoked by uid 99); 5 Jun 2008 22:25:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 15:25:09 -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; Thu, 05 Jun 2008 22:24:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2AA67234C133 for ; Thu, 5 Jun 2008 15:24:45 -0700 (PDT) Message-ID: <320070519.1212704685173.JavaMail.jira@brutus> Date: Thu, 5 Jun 2008 15:24:45 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3503) Race condition when client and namenode start block recovery simultaneously In-Reply-To: <1413233275.1212692384970.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-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HADOOP-3503: ------------------------------------------- Hadoop Flags: [Reviewed] +1 codes look good. Are you sure you want to change several calls from LOG.debug(...) to LOG.info(...)? > Race condition when client and namenode start block recovery simultaneously > --------------------------------------------------------------------------- > > Key: HADOOP-3503 > URL: https://issues.apache.org/jira/browse/HADOOP-3503 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.18.0 > Reporter: dhruba borthakur > Assignee: dhruba borthakur > Attachments: pingPong.patch > > > When a client detects a error while writing to a block, it starts the generation-stamp-protocol to remove stale replicas. At the same time, if the namenode experiences a lease expiry event for that file, the namenode starts the generation-stamp-protocol for the same block. Now, the client and thr namenode ping-pongs trying to stamp the block replicas. This ping-pong can continue for a long time. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.