From hdfs-issues-return-7890-apmail-hadoop-hdfs-issues-archive=hadoop.apache.org@hadoop.apache.org Fri Apr 02 17:50:49 2010 Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 15643 invoked from network); 2 Apr 2010 17:50:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Apr 2010 17:50:49 -0000 Received: (qmail 4413 invoked by uid 500); 2 Apr 2010 17:50:49 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 4353 invoked by uid 500); 2 Apr 2010 17:50:49 -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 4343 invoked by uid 99); 2 Apr 2010 17:50:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 17:50:49 +0000 X-ASF-Spam-Status: No, hits=-1206.2 required=10.0 tests=ALL_TRUSTED,AWL 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; Fri, 02 Apr 2010 17:50:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 02C98234C4D5 for ; Fri, 2 Apr 2010 17:50:28 +0000 (UTC) Message-ID: <75298011.663091270230628010.JavaMail.jira@brutus.apache.org> Date: Fri, 2 Apr 2010 17:50:28 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-955) FSImage.saveFSImage can lose edits In-Reply-To: <1579366163.136111265673808259.JavaMail.jira@brutus.apache.org> 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-955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852889#action_12852889 ] Suresh Srinivas commented on HDFS-955: -------------------------------------- +1 for the patch. BTW thanks for documenting various directories under storage directories. It adds more clarity to the code, save namespace, upgrade mechanisms. > FSImage.saveFSImage can lose edits > ---------------------------------- > > Key: HDFS-955 > URL: https://issues.apache.org/jira/browse/HDFS-955 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.20.1, 0.21.0, 0.22.0 > Reporter: Todd Lipcon > Assignee: Konstantin Shvachko > Priority: Blocker > Attachments: FSStateTransition7.htm, hdfs-955-moretests.txt, hdfs-955-unittest.txt, PurgeEditsBeforeImageSave.patch, saveNamespace-0.20.patch, saveNamespace-0.21.patch, saveNamespace.patch, saveNamespace.patch, saveNamespace.patch, saveNamespace.patch, saveNamespace.txt > > > This is a continuation of a discussion from HDFS-909. The FSImage.saveFSImage function (implementing dfsadmin -saveNamespace) can corrupt the NN storage such that all current edits are lost. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.