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 7FE6A10256 for ; Mon, 3 Feb 2014 11:02:14 +0000 (UTC) Received: (qmail 37191 invoked by uid 500); 3 Feb 2014 11:02:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 36839 invoked by uid 500); 3 Feb 2014 11:02:11 -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 36817 invoked by uid 99); 3 Feb 2014 11:02:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 11:02:11 +0000 Date: Mon, 3 Feb 2014 11:02:10 +0000 (UTC) From: "Harsh J (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-184) SecondaryNameNode doCheckpoint() renames current directory before asking NameNode to rollEditLog() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J resolved HDFS-184. -------------------------- Resolution: Not A Problem This doesn't appear to be a problem today, esp. after the new edits and fsimage retention style, as we do rollEditLog as the first-thing before any other local operation. Likely gone stale. Closing out for now as 'Not A Problem' (anymore). > SecondaryNameNode doCheckpoint() renames current directory before asking NameNode to rollEditLog() > -------------------------------------------------------------------------------------------------- > > Key: HDFS-184 > URL: https://issues.apache.org/jira/browse/HDFS-184 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Lohit Vijayarenu > Priority: Minor > > In SecondaryNameNode doCheckPoint() function invokes _startCheckpoint()_ before calling _namenode.rollEditLog()_ > _startCheckpoint()_ internally invokes _CheckpointStorage::startCheckpoint()_ which renames current to lastcheckpoint.tmp. if call to namenode failed, then we would redo the above step renaming empty current directory in next iteration? Should we remove after we know namenode has successfully rolled edits? -- This message was sent by Atlassian JIRA (v6.1.5#6160)