Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FEB410F90 for ; Sat, 7 Dec 2013 07:27:24 +0000 (UTC) Received: (qmail 60561 invoked by uid 500); 7 Dec 2013 07:26:40 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 59860 invoked by uid 500); 7 Dec 2013 07:26:30 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 59608 invoked by uid 99); 7 Dec 2013 07:26:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Dec 2013 07:26:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.160.46 as permitted sender) Received: from [209.85.160.46] (HELO mail-pb0-f46.google.com) (209.85.160.46) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Dec 2013 07:26:21 +0000 Received: by mail-pb0-f46.google.com with SMTP id md12so2359679pbc.33 for ; Fri, 06 Dec 2013 23:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9hBAD6/0XycjYkGY/PTH3OxZVUrIdY2XLVGqaRzb0O0=; b=h4JRAGRPKKV1SH1iQm9X8GGO8SdvTFK4SlqA55o+un4D5nO0nMKpRQwYbuc4rTJejE udK4mgLSczhOViK5aUAeQQDIqOfQpB2kReYQeBxYi3Fp5fv/UY0Ug7x/lrEcg0IWdaLs q5zIG5SarAkoHdd+HX0oSdONTaZmgX9XbAZUsAPnWvpe8vROYM/QFGzDLR2d76KoBs6h Th3JrYmnnCRjf2tjgqkkfR1NffnD9k7vK1Sa7NCIMnuEjHFcVRL1Av63pD9jJ6TkkkOa +Yg+CFpuM+3MulkDwQ3y+G6t//DCYG6fZjG658CyKw6MdOaqH9LAuoz5xNLZ/u2/yUef ncrA== MIME-Version: 1.0 X-Received: by 10.68.6.99 with SMTP id z3mr8694165pbz.114.1386401161323; Fri, 06 Dec 2013 23:26:01 -0800 (PST) Received: by 10.70.16.226 with HTTP; Fri, 6 Dec 2013 23:26:01 -0800 (PST) In-Reply-To: References: Date: Sat, 7 Dec 2013 15:26:01 +0800 Message-ID: Subject: Re: Namenode won't start after unclean shutdown of RS From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=bcaec5314e7dbcaded04ececac97 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5314e7dbcaded04ececac97 Content-Type: text/plain; charset=ISO-8859-1 What version of Hadoop / HBase are you using ? Cheers On Sat, Dec 7, 2013 at 9:38 AM, iain wright wrote: > Hi folks, > > One of our RS/DN/TT nodes went down dirty (kernel panic). Users contacted > about reports failing, and i saw wierd logs in the jobtracker for "pending > shutdown" etc. > > Proceeded to stop jobtracker/tt nodes, hbase, and hdfs. > > On attempting to turn back on the NN + DN's our namenode is failing to > start, complaining about being unable to move one of our hbase region files > because source file does exist. > > Has anyone come across this/have suggestions?? > > 2013-12-07 01:20:43,156 INFO org.apache.hadoop.hdfs.server.common.Storage: > Image file of size 149098688 loaded in 14 seconds. > 2013-12-07 01:20:43,253 WARN org.apache.hadoop.hdfs.StateChange: DIR* > FSDirectory.unprotectedRenameTo: failed to rename > > /hbase_prod/prod_transactions/d3fdbd9b9883b2f8efe6d0f8b7790f41/c/df40b2db7d9345ab9384a77a2c573de0 > to > > /hbase_prod/.archive/prod_transactions/d3fdbd9b9883b2f8efe6d0f8b7790f41/c/df40b2db7d9345ab9384a77a2c573de0 > because source does not exist > 2013-12-07 01:20:43,348 ERROR > org.apache.hadoop.hdfs.server.namenode.NameNode: > java.lang.NullPointerException > at > > org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedSetTimes(FSDirectory.java:1343) > at > > org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedSetTimes(FSDirectory.java:1332) > at > > org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadFSEdits(FSEditLog.java:774) > at > > org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSEdits(FSImage.java:1008) > at > > org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:826) > at > > org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:362) > at > > org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:97) > at > > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:386) > at > > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.(FSNamesystem.java:360) > at > > org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:276) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:496) > at > > org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1279) > at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1288) > > 2013-12-07 01:20:43,349 INFO > org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG: > /************************************************************ > SHUTDOWN_MSG: Shutting down NameNode at > namenode0.hadoop.compe.tv/10.10.11.10 > > Thank you, > > -- > iain > > > This email message is confidential, intended only for the recipient(s) > named above and may contain information that is privileged, exempt from > disclosure under applicable law. If you are not the intended recipient, do > not disclose or disseminate the message to anyone except the intended > recipient. If you have received this message in error, or are not the named > recipient(s), please immediately notify the sender by return email, and > delete all copies of this message. > --bcaec5314e7dbcaded04ececac97--