Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 29714 invoked from network); 19 Apr 2008 00:41:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Apr 2008 00:41:44 -0000 Received: (qmail 48995 invoked by uid 500); 19 Apr 2008 00:41:44 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 48970 invoked by uid 500); 19 Apr 2008 00:41:44 -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 48959 invoked by uid 99); 19 Apr 2008 00:41:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2008 17:41:44 -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; Sat, 19 Apr 2008 00:41:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4F87D234C0E2 for ; Fri, 18 Apr 2008 17:38:31 -0700 (PDT) Message-ID: <107848818.1208565511324.JavaMail.jira@brutus> Date: Fri, 18 Apr 2008 17:38:31 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3283) Need a mechanism for data nodes to update generation stamps. In-Reply-To: <266038902.1208561061464.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-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590655#action_12590655 ] Tsz Wo (Nicholas), SZE commented on HADOOP-3283: ------------------------------------------------ One way is to an inter-DataNode protocol for block manipulation: {code} interface BlockProtocol extends VersionedProtocol { /** * Update the GenerationStamp of a block. * @return true iff update was required and done successfully. */ public boolean updateGenerationStamp(Block block, GenerationStamp generationstamp) throws IOException; /** * @return the BlockMetaDataInfo of the block. */ public BlockMetaDataInfo getBlockMetaDataInfo(Block block) throws IOException; } {code} > Need a mechanism for data nodes to update generation stamps. > ------------------------------------------------------------ > > Key: HADOOP-3283 > URL: https://issues.apache.org/jira/browse/HADOOP-3283 > Project: Hadoop Core > Issue Type: New Feature > Reporter: Tsz Wo (Nicholas), SZE > > For implementing file append feature (HADOOP-1700), a generation stamp is added to each block. We need a mechanism for data nodes to update generation stamps for lease recovery. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.