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 9207D55E2 for ; Fri, 13 May 2011 01:11:30 +0000 (UTC) Received: (qmail 64561 invoked by uid 500); 13 May 2011 01:11:30 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 64527 invoked by uid 500); 13 May 2011 01:11:30 -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 64516 invoked by uid 99); 13 May 2011 01:11:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 01:11:30 +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; Fri, 13 May 2011 01:11:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3141C88EF2 for ; Fri, 13 May 2011 01:10:48 +0000 (UTC) Date: Fri, 13 May 2011 01:10:48 +0000 (UTC) From: "Matt Foley (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <977634115.8830.1305249048198.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <18540953.158441290026115210.JavaMail.jira@thor> Subject: [jira] [Commented] (HDFS-1505) saveNamespace appears to succeed even if all directories fail to save 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-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032781#comment-13032781 ] Matt Foley commented on HDFS-1505: ---------------------------------- bq. ...failure handling should perhaps be different between these two cases [saveNamespace and doUpgrade] The inclination of our team is leave the behavior unchanged here, and open another Jira for that discussion. Historical info: * A quick review of the patches for HDFS-1071 and HDFS-1826 indicates that prior to making FSImage write concurrent, saveNamespace logged storage directory failures and continued, but doUpgrade killed the Namenode on any failure. * With the concurrent write code, both now log and continue. This may be a deficiency in my HDFS-1826 patch. * HDFS-4885 introduced the ability to recover from transient storage dir failures. > saveNamespace appears to succeed even if all directories fail to save > --------------------------------------------------------------------- > > Key: HDFS-1505 > URL: https://issues.apache.org/jira/browse/HDFS-1505 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.22.0, 0.23.0 > Reporter: Todd Lipcon > Assignee: Aaron T. Myers > Priority: Blocker > Fix For: 0.22.0 > > Attachments: hdfs-1505-1-test.txt, hdfs-1505-22.0.patch, hdfs-1505-22.1.patch, hdfs-1505-test.txt, hdfs-1505-trunk.0.patch, hdfs-1505-trunk.1.patch > > > After HDFS-1071, saveNamespace now appears to "succeed" even if all of the individual directories failed to save. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira