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 8628C94A0 for ; Mon, 31 Oct 2011 18:13:45 +0000 (UTC) Received: (qmail 95119 invoked by uid 500); 31 Oct 2011 18:13:44 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 95093 invoked by uid 500); 31 Oct 2011 18:13:44 -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 95085 invoked by uid 99); 31 Oct 2011 18:13:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 18:13:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.215.169 as permitted sender) Received: from [209.85.215.169] (HELO mail-ey0-f169.google.com) (209.85.215.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 18:13:38 +0000 Received: by eye4 with SMTP id 4so7137376eye.14 for ; Mon, 31 Oct 2011 11:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=aL/61tP2mTIBNlbFvedDXXB/jOw2nyR9NfzWQsislUw=; b=XjK3Diqo4vj1Co9oK6XS59DCXTV/FMzHkPKYCGxCGixLZOqHIhwifiNkhM5PNpf/8F vaI1Y6c+9/oAMVPW/ADSPGI3NmXdOGZjifXpAsgTpcCLovxn9DHogQXelWpO6Ju4+aoj L5+N0TH3eWUVIILxtBCN8hkqVgqR5X4/4+sKI= MIME-Version: 1.0 Received: by 10.182.139.70 with SMTP id qw6mr3086864obb.43.1320084796409; Mon, 31 Oct 2011 11:13:16 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.182.12.134 with HTTP; Mon, 31 Oct 2011 11:13:16 -0700 (PDT) In-Reply-To: References: Date: Mon, 31 Oct 2011 11:13:16 -0700 X-Google-Sender-Auth: IYpYT7QXpiPMNMXocX5yBd544nI Message-ID: Subject: Re: Hmaster can't start for the latest trunk version From: Stack To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I backed out hbase-4680. I made HBASE-4708 to backout the safemode parts of hbase-4510. Any chance of a patch Harsh? Thanks, St.Ack On Mon, Oct 31, 2011 at 1:24 AM, Harsh J wrote: > Gary, > > We can revert for now, yes. Todd had fixed the constant name change > issue earlier, so it should be OK to revert and switch to a decided > API later. I think that should be fine! > > On Mon, Oct 31, 2011 at 1:28 PM, Gary Helmling wrot= e: >> Yes, HBASE-4510 broke running on one set of conditions, now the "fix" >> in HBASE-4680 seems to have broken another. >> >> Are the safe mode related changes from HBASE-4510 really necessary >> right now? =A0Would it be possible to wait for HDFS-2413, when we have a >> real API for checking safe mode? =A0Or do we absolutely need the change >> in safe mode checking to run on 0.23? =A0The previous version of the >> check at least did not have these issues. =A0If we don't strictly need >> that change, I'd be in favor of reverting both HBASE-4680 and the >> safe-mode related bits from HBASE-4510. >> >> >> On Sun, Oct 30, 2011 at 9:44 PM, Harsh J wrote: >>> Hi Gaojinchao, >>> >>> -user (bcc) >>> +dev >>> >>> This appears to be due to https://issues.apache.org/jira/browse/HBASE-4= 680 (and also HBASE-4510 which sourced the whole issue), and is caused by t= he fact that /hbase doesn't exist yet when you first start it up. I've file= d https://issues.apache.org/jira/browse/HBASE-4705 for this. >>> >>> Workaround may be to "sudo -u hbase-user hadoop dfs -mkdir /hbase" befo= re starting, for now. >>> >>> On 31-Oct-2011, at 9:42 AM, Gaojinchao wrote: >>> >>>> The latest trunk version. >>>> Throw this logs: >>>> 2011-10-31 00:09:09,549 FATAL org.apache.hadoop.hbase.master.HMaster: = Unhandled exception. Starting shutdown. >>>> java.io.FileNotFoundException: File does not exist: hdfs://C3S31:9000/= hbase >>>> =A0 =A0 =A0 =A0 at org.apache.hadoop.hdfs.DistributedFileSystem.getFil= eStatus(DistributedFileSystem.java:731) >>>> =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.util.FSUtils.isInSafeMode(F= SUtils.java:163) >>>> =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.util.FSUtils.waitOnSafeMode= (FSUtils.java:458) >>>> =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.master.MasterFileSystem.che= ckRootDir(MasterFileSystem.java:301) >>>> =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.master.MasterFileSystem.cre= ateInitialFileSystemLayout(MasterFileSystem.java:127) >>>> =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.master.MasterFileSystem.(MasterFileSystem.java:112) >>>> =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.master.HMaster.finishInitia= lization(HMaster.java:426) >>>> =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.master.HMaster.run(HMaster.= java:309) >>>> =A0 =A0 =A0 =A0 at java.lang.Thread.run(Thread.java:662) >>>> 2011-10-31 00:09:09,551 INFO org.apache.hadoop.hbase.master.HMaster: A= borting >>>> 2011-10-31 00:09:09,551 DEBUG org.apache.hadoop.hbase.master.HMaster: = Stopping service threads >>> >>> >> > > > > -- > Harsh J >