Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 68558 invoked from network); 29 Apr 2009 15:18:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Apr 2009 15:18:53 -0000 Received: (qmail 23447 invoked by uid 500); 29 Apr 2009 15:18:51 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 23383 invoked by uid 500); 29 Apr 2009 15:18:51 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 23373 invoked by uid 99); 29 Apr 2009 15:18:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2009 15:18:51 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2009 15:18:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 75C30234C045 for ; Wed, 29 Apr 2009 08:18:30 -0700 (PDT) Message-ID: <108452020.1241018310481.JavaMail.jira@brutus> Date: Wed, 29 Apr 2009 08:18:30 -0700 (PDT) From: "Wang Xu (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5730) SecondaryNameNode: should not throw exception and exit if only one makedir failure In-Reply-To: <221497642.1240497151305.JavaMail.jira@brutus> 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/HADOOP-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wang Xu updated HADOOP-5730: ---------------------------- Attachment: secondarynamenode-startcp.patch catch both mkdir and rename exceptions, and throw exception when all of the dirs are failed > SecondaryNameNode: should not throw exception and exit if only one makedir failure > ----------------------------------------------------------------------------------- > > Key: HADOOP-5730 > URL: https://issues.apache.org/jira/browse/HADOOP-5730 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.19.1 > Reporter: Wang Xu > Assignee: Wang Xu > Fix For: 0.19.2 > > Attachments: secondarynamenode-startcp.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > In CheckpointStorage.startCheckPointing(), if one mkdir failed, it > will throw an exception and exit. > However, because the editlog has been closed before, the editStreams > of FSEditLog of NameNode will becomes empty as a result, which > will affect any further logSync operations. > Hence we think it should only print WARN message instead of > throw the exception -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.