Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D58996AF3 for ; Mon, 20 Jun 2011 18:25:10 +0000 (UTC) Received: (qmail 95752 invoked by uid 500); 20 Jun 2011 18:25:10 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 95705 invoked by uid 500); 20 Jun 2011 18:25:10 -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 95697 invoked by uid 99); 20 Jun 2011 18:25:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 18:25:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 18:25:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8BA8F424F14 for ; Mon, 20 Jun 2011 18:24:47 +0000 (UTC) Date: Mon, 20 Jun 2011 18:24:47 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <280579860.21805.1308594287569.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <339306911.21796.1308594167448.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2085) 1073: finalize inprogress edit logs at startup 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-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HDFS-2085: ------------------------------ Component/s: name-node Affects Version/s: Edit log branch (HDFS-1073) Fix Version/s: Edit log branch (HDFS-1073) > 1073: finalize inprogress edit logs at startup > ---------------------------------------------- > > Key: HDFS-2085 > URL: https://issues.apache.org/jira/browse/HDFS-2085 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Affects Versions: Edit log branch (HDFS-1073) > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: Edit log branch (HDFS-1073) > > > With HDFS-2074, the NameNode can read through any "in-progress" logs it finds during startup to determine how many transactions they have. It can then re-name the file from its inprogress name to its finalized name. For example, if it finds a file edits_10_inprogress with 3 transactions, it can rename it to edits_10-12 at startup. This means that other parts of the system like edits-log-transfer don't need to worry about in-progress logs. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira