Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 42045 invoked from network); 13 Dec 2006 21:35:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2006 21:35:44 -0000 Received: (qmail 23907 invoked by uid 500); 13 Dec 2006 21:35:51 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 23668 invoked by uid 500); 13 Dec 2006 21:35:51 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 23620 invoked by uid 99); 13 Dec 2006 21:35:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 13:35:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 13:35:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5F8187141A4 for ; Wed, 13 Dec 2006 13:35:22 -0800 (PST) Message-ID: <9239648.1166045722388.JavaMail.jira@brutus> Date: Wed, 13 Dec 2006 13:35:22 -0800 (PST) From: "Hadoop QA (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-820) NameNode startup fails if edit log terminates prematurely In-Reply-To: <15745259.1165967301109.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HADOOP-820?page=comments#action_12458267 ] Hadoop QA commented on HADOOP-820: ---------------------------------- -1, since the patch command could not apply the latest attachment as a patch: http://issues.apache.org/jira/secure/attachment/12347120/fixNameNodeStartup.patch. Please note that this message is automatically generated and may represent a problem with the automation system and not the patch. > NameNode startup fails if edit log terminates prematurely > --------------------------------------------------------- > > Key: HADOOP-820 > URL: http://issues.apache.org/jira/browse/HADOOP-820 > Project: Hadoop > Issue Type: Bug > Components: dfs > Environment: ~50 node cluster > Reporter: Bryan Pendleton > Attachments: fixNameNodeStartup.patch > > > I ran out of space on the device that stores the edit log, resulting in an edit log that is truncated mid transaction. > Ideally, the NameNode should start up, in SafeMode or the like, whenever this happens. Right now, you get this stack trace: > 2006-12-12 15:33:57,212 ERROR org.apache.hadoop.dfs.NameNode: java.io.EOFExcepti > on > at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:310) > at org.apache.hadoop.io.UTF8.readFields(UTF8.java:104) > at org.apache.hadoop.dfs.FSEditLog.loadFSEdits(FSEditLog.java:227) > at org.apache.hadoop.dfs.FSImage.loadFSImage(FSImage.java:191) > at org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.java:320) > at org.apache.hadoop.dfs.FSNamesystem.(FSNamesystem.java:226) > at org.apache.hadoop.dfs.NameNode.(NameNode.java:146) > at org.apache.hadoop.dfs.NameNode.(NameNode.java:138) > at org.apache.hadoop.dfs.NameNode.main(NameNode.java:589) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira