Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 17930 invoked from network); 10 Dec 2010 05:39:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Dec 2010 05:39:27 -0000 Received: (qmail 43506 invoked by uid 500); 10 Dec 2010 05:39:27 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 43406 invoked by uid 500); 10 Dec 2010 05:39:26 -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 43398 invoked by uid 99); 10 Dec 2010 05:39:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 05:39:26 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 05:39:24 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBA5d2jk001385 for ; Fri, 10 Dec 2010 05:39:02 GMT Message-ID: <29754476.52651291959542592.JavaMail.jira@thor> Date: Fri, 10 Dec 2010 00:39:02 -0500 (EST) From: "dhruba borthakur (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1520) HDFS 20 append: Lightweight NameNode operation to trigger lease recovery In-Reply-To: <993164.10531291066331206.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970075#action_12970075 ] dhruba borthakur commented on HDFS-1520: ---------------------------------------- +1 code looks good. I also ran all the new unit tests. > HDFS 20 append: Lightweight NameNode operation to trigger lease recovery > ------------------------------------------------------------------------ > > Key: HDFS-1520 > URL: https://issues.apache.org/jira/browse/HDFS-1520 > Project: Hadoop HDFS > Issue Type: New Feature > Affects Versions: 0.20-append > Reporter: Hairong Kuang > Assignee: Hairong Kuang > Fix For: 0.20-append > > Attachments: recoverLeaseApache20.patch > > > Currently HBase uses append to trigger the close of HLog during Hlog split. Append is a very expensive operation, which involves not only NameNode operations but creating a writing pipeline. If one of datanodes on the pipeline has a problem, this recovery may takes minutes. I'd like implement a lightweight NameNode operation to trigger lease recovery and make HBase to use this instead. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.