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 6E01D17C2E for ; Fri, 3 Apr 2015 16:20:08 +0000 (UTC) Received: (qmail 21598 invoked by uid 500); 3 Apr 2015 16:20:06 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 21525 invoked by uid 500); 3 Apr 2015 16:20:06 -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 21513 invoked by uid 99); 3 Apr 2015 16:20:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2015 16:20:06 +0000 X-ASF-Spam-Status: No, hits=2.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of drmsr6@hotmail.com designates 65.54.190.89 as permitted sender) Received: from [65.54.190.89] (HELO BAY004-OMC2S14.hotmail.com) (65.54.190.89) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2015 16:20:01 +0000 Received: from BAY181-W40 ([65.54.190.125]) by BAY004-OMC2S14.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Fri, 3 Apr 2015 09:19:19 -0700 X-TMN: [4TQ52rDDwumDfRxtDzhZ8w8Ty9E448WE] X-Originating-Email: [drmsr6@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_8799418d-a890-4ec4-b5f2-5d6d002e0a84_" From: sridhararao mutluri To: "user@hbase.apache.org" Subject: RE: Hbase 1.0 Distributed Mode:Issue:Master is initializing Date: Fri, 3 Apr 2015 21:49:18 +0530 Importance: Normal In-Reply-To: References: , MIME-Version: 1.0 X-OriginalArrivalTime: 03 Apr 2015 16:19:19.0415 (UTC) FILETIME=[F011B070:01D06E29] X-Virus-Checked: Checked by ClamAV on apache.org --_8799418d-a890-4ec4-b5f2-5d6d002e0a84_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Sean=2C Thanks for your speedy reply. We are suing hadoop HA with namespace "mycluster". Please suggest below property value like this: hbase.rootdir hdfs://mycluster:8020/hbase Thanks=2CSridhar> From: busbey@cloudera.com > Date: Fri=2C 3 Apr 2015 11:11:42 -0500 > Subject: Re: Hbase 1.0 Distributed Mode:Issue:Master is initializing > To: user@hbase.apache.org >=20 > you should check the master's log for what is causing it to be delayed in > starting. >=20 > A few configuration errors: >=20 > 1) zk dataDir in hbase configs >=20 > hbase.zookeeper.property.dataDir > /hadoop/hdfs/zookeeper/data/zk1 >=20 > This property is not needed=2C because you have specified a ZK quorum and= are > in distributed mode. >=20 > 2) HDFS address >=20 > fs.defaultFS > hdfs://mycluster > >=20 > Did you redact this=2C or is your HDFS set up in HA with the nameservice > "mycluster"? >=20 > If it's the latter=2C then this config is wrong: >=20 > hbase.rootdir hdfs:/= / > 10.1.252.86:8020/hbase >=20 > This is presumably the address of one of your NameNodes. If you are using > HA=2C then this should use the nameservice instead of a particular host. > Otherwise=2C HBase will get errors whenever the named host is not active. >=20 > 3) IP addresses >=20 > In general=2C you should be using FQDN for hosts in your cluster and not = IP > addresses. If you are using IP addresses because DNS is problematic=2C pl= ease > be aware that several parts of the cluster are going to attempt to use > reverse DNS to turn that back into a host name. You can save yourself > trouble by doing the work upfront to make sure forward and reverse DNS > behaves properly (even if just with coordinated /etc/hosts files) >=20 >=20 > On Fri=2C Apr 3=2C 2015 at 11:04 AM=2C sridhararao mutluri > wrote: >=20 > > > > > > > > Team=2C > > I am facing below error.Please suggest solution: > > hbase(main):001:0> create 'cars'=2C 'vi' > > ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is > > initializing at > > org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:18= 69) > > at > > org.apache.hadoop.hbase.master.HMaster.checkNamespaceManagerReady(HMast= er.java:1874) > > at > > org.apache.hadoop.hbase.master.HMaster.ensureNamespaceExists(HMaster.ja= va:2067) > > at > > org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1262) > > at > > org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcS= ervices.java:398) > > at > > org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2= .callBlockingMethod(MasterProtos.java:42436) > > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2031= ) > > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107) > > at > > org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:1= 30) > > at > > org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107) > > at java.lang.Thread.run(Thread.java:745) > > hbase-site.xml shows: > > hbase.master > > 10.1.252.86:60000 > > hbase.rootdir hdfs:// > > 10.1.252.86:8020/hbase > > hbase.zookeeper.property.dataDir > > /hadoop/hdfs/zookeeper/data/zk1 > > hbase.cluster.distributed > > true > > hbase.zookeeper.property.clientPort > > 2181 > > hbase.zookeeper.quorum > > 10.1.252.86=2C10.1.252.87=2C10.1.252.88 > > > > Hadoop core-site.xml: > > fs.defaultFS > > hdfs://mycluster > > Zookeeper status:[hadoop@...... bin]$ ./zkServer.sh statusJMX enabled b= y > > defaultUsing config: /home/hadoop/zookeeper-3.4.6/bin/../conf/zoo.cfgMo= de: > > follower > > Thanks=2CSridhar > > > > >=20 >=20 >=20 >=20 > --=20 > Sean = --_8799418d-a890-4ec4-b5f2-5d6d002e0a84_--