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 9F472D7E1 for ; Tue, 21 May 2013 20:33:45 +0000 (UTC) Received: (qmail 21322 invoked by uid 500); 21 May 2013 20:33:44 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 21246 invoked by uid 500); 21 May 2013 20:33:43 -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 21237 invoked by uid 99); 21 May 2013 20:33:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 20:33:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dontariq@gmail.com designates 209.85.220.179 as permitted sender) Received: from [209.85.220.179] (HELO mail-vc0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 20:33:39 +0000 Received: by mail-vc0-f179.google.com with SMTP id hz10so770721vcb.38 for ; Tue, 21 May 2013 13:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=jZS4V5sw91/+Kch2u5YzWVWYrXxK2tQDAVX4YP/9Qb4=; b=GNXrEP5yfPdRv4WSTkIEFnZMCMemgvJD1wGrZsWpCtwA1bmAImRx26CiyZqPkH2x01 QpB0mcKVCQ0bky9vkWOeJAR2LfiXhAQ4ebAekg5Gx+q5dyJg1OHggpdOR+SwtllS8/wJ fkZcAx/GlIOcLxyqnu9Z5zm6BzXvbWQ/bd0yec0071i7PFjywwO2L1ror81N0ddJZnuy 90AdMSoHfBVKO3qQtzkAYHSpyklzKiLejEClWbnZ9DmA5itBXURVbCFQXiNtTrWRXCnQ +iy7Zu0tVKu3Ftz8zADD7SHFk3gGDsuV9KyvfSqILeOI19mIzz2WGx8Ks3uvOjEFzWT8 lO8Q== X-Received: by 10.220.246.196 with SMTP id lz4mr1638744vcb.45.1369168398888; Tue, 21 May 2013 13:33:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.136.65 with HTTP; Tue, 21 May 2013 13:32:38 -0700 (PDT) In-Reply-To: References: From: Mohammad Tariq Date: Wed, 22 May 2013 02:02:38 +0530 Message-ID: Subject: Re: PleaseHoldException when Master is clearly running as JPS To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e01176c670dd10d04dd405c6a X-Virus-Checked: Checked by ClamAV on apache.org --089e01176c670dd10d04dd405c6a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable OS?Add "127.0.0.1 localhost" and see if it makes any difference. Warm Regards, Tariq cloudfront.blogspot.com On Wed, May 22, 2013 at 1:57 AM, Jay Vyas wrote: > #This is my /etc/hosts file --- > 127.0.0.1 localhost localhost.localdomain localhost4 > localhost4.localdomain4 > #::1 localhost localhost.localdomain localhost6 > localhost6.localdomain6 > 127.0.0.1 hbase-master > 192.168.122.200 hbase-master > 192.168.122.201 hbase-regionserver1 > 192.168.122.202 hbase-regionserver2 > 192.168.122.203 hbase-regionserver3 > > > > On Tue, May 21, 2013 at 4:25 PM, Mohammad Tariq > wrote: > > > Hello Jay, > > > > Please change the line containing "127.0.1.1" in your /etc/hosts = to > > "127.0.0.1" and see if it works. > > > > Warm Regards, > > Tariq > > cloudfront.blogspot.com > > > > > > On Wed, May 22, 2013 at 1:47 AM, Jay Vyas wrote: > > > > > Hi folks: > > > > > > Hope someone can shed some light on this - > > > > > > I cannot run "hbase shell" create commands because of the > > > PleaseHoldException on a fresh install of hbase. Im not finding much > in > > > the error logs, and all nodes appear to be up and running, including > > hbase > > > master. > > > > > > Version : hbase-0.94.7 > > > > > > Error: I am getting the "Please hold exception"... on my hbase shell. > > When > > > running "create table 't1','f1'"... But... > > > > > > But wait :) theres more ! ... clearly, the hbase master is running : > > > > > > [root@hbase-master ~]# jps > > > 11896 HQuorumPeer > > > 12914 Jps > > > 9894 Main > > > 5879 Main > > > ****************** > > > 12279 HMaster > > > ****************** > > > 5779 Main > > > 11714 ZKServerTool > > > 12058 HRegionServer > > > 12860 Main > > > 8369 Main > > > > > > And finally - here is a dump of the output from the shell --- any > > thoughts? > > > > > > [root@hbase-master ~]# hbaseinstall/hbase-0.94.7/bin/ > > > hbase shell -d < > > create 't1','f1' > > > EOF > > > > > > Setting DEBUG log level... > > > > > > HBase Shell; enter 'help' for list of supported commands. > > > Type "exit" to leave the HBase Shell > > > Version 0.94.7, r1471806, Wed Apr 24 18:48:26 PDT 2013 > > > > > > create 't1','f1' > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > environment:zookeeper.version=3D3.4.5-1392090, built on 09/30/2012 17= :52 > > GMT > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client environment: > host.name > > > =3Dlocalhost > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > environment:java.version=3D1.6.0_24 > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > environment:java.vendor=3DSun Microsystems Inc. > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > > environment:java.home=3D/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jr= e > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > > > > > > > environment:java.class.path=3D/root/hbaseinstall/hbase-0.94.7/bin/../conf= :/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/tools.jar:/root/hbaseinstall/hba= se-0.94.7/bin/..:/root/hbaseinstall/hbase-0.94.7/bin/../hbase-0.94.7.jar:/r= oot/hbaseinstall/hbase-0.94.7/bin/../hbase-0.94.7-tests.jar:/root/hbaseinst= all/hbase-0.94.7/bin/../lib/activation-1.1.jar:/root/hbaseinstall/hbase-0.9= 4.7/bin/../lib/asm-3.1.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/avro-= 1.5.3.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/avro-ipc-1.5.3.jar:/ro= ot/hbaseinstall/hbase-0.94.7/bin/../lib/commons-beanutils-1.7.0.jar:/root/h= baseinstall/hbase-0.94.7/bin/../lib/commons-beanutils-core-1.8.0.jar:/root/= hbaseinstall/hbase-0.94.7/bin/../lib/commons-cli-1.2.jar:/root/hbaseinstall= /hbase-0.94.7/bin/../lib/commons-codec-1.4.jar:/root/hbaseinstall/hbase-0.9= 4.7/bin/../lib/commons-collections-3.2.1.jar:/root/hbaseinstall/hbase-0.94.= 7/bin/../lib/commons-configuration-1.6.jar:/root/hbaseinstall/hbase-0.94.7/= bin/../lib/commons-digester-1.8.jar:/root/hbaseinstall/hbase-0.94.7/bin/../= lib/commons-el-1.0.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/commons-h= ttpclient-3.1.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/commons-io-2.1= .jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/commons-lang-2.5.jar:/root/= hbaseinstall/hbase-0.94.7/bin/../lib/commons-logging-1.1.1.jar:/root/hbasei= nstall/hbase-0.94.7/bin/../lib/commons-math-2.1.jar:/root/hbaseinstall/hbas= e-0.94.7/bin/../lib/commons-net-1.4.1.jar:/root/hbaseinstall/hbase-0.94.7/b= in/../lib/core-3.1.1.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/gluster= fs-0.0.1-20130520-1810.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/guava= -11.0.2.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/hadoop-core-1.0.4.ja= r:/root/hbaseinstall/hbase-0.94.7/bin/../lib/high-scale-lib-1.1.1.jar:/root= /hbaseinstall/hbase-0.94.7/bin/../lib/httpclient-4.1.2.jar:/root/hbaseinsta= ll/hbase-0.94.7/bin/../lib/httpcore-4.1.3.jar:/root/hbaseinstall/hbase-0.94= .7/bin/../lib/jackson-core-asl-1.8.8.jar:/root/hbaseinstall/hbase-0.94.7/bi= n/../lib/jackson-jaxrs-1.8.8.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib= /jackson-mapper-asl-1.8.8.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/ja= ckson-xc-1.8.8.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/jamon-runtime= -2.3.1.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/jasper-compiler-5.5.2= 3.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/jasper-runtime-5.5.23.jar:= /root/hbaseinstall/hbase-0.94.7/bin/../lib/jaxb-api-2.1.jar:/root/hbaseinst= all/hbase-0.94.7/bin/../lib/jaxb-impl-2.2.3-1.jar:/root/hbaseinstall/hbase-= 0.94.7/bin/../lib/jersey-core-1.8.jar:/root/hbaseinstall/hbase-0.94.7/bin/.= ./lib/jersey-json-1.8.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/jersey= -server-1.8.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/jettison-1.1.jar= :/root/hbaseinstall/hbase-0.94.7/bin/../lib/jetty-6.1.26.jar:/root/hbaseins= tall/hbase-0.94.7/bin/../lib/jetty-util-6.1.26.jar:/root/hbaseinstall/hbase= -0.94.7/bin/../lib/jruby-complete-1.6.5.jar:/root/hbaseinstall/hbase-0.94.7= /bin/../lib/jsp-2.1-6.1.14.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/j= sp-api-2.1-6.1.14.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/jsr305-1.3= .9.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/junit-4.10-HBASE-1.jar:/r= oot/hbaseinstall/hbase-0.94.7/bin/../lib/libthrift-0.8.0.jar:/root/hbaseins= tall/hbase-0.94.7/bin/../lib/log4j-1.2.16.jar:/root/hbaseinstall/hbase-0.94= .7/bin/../lib/metrics-core-2.1.2.jar:/root/hbaseinstall/hbase-0.94.7/bin/..= /lib/netty-3.2.4.Final.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/proto= buf-java-2.4.0a.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/servlet-api-= 2.5-6.1.14.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/slf4j-api-1.4.3.j= ar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/slf4j-log4j12-1.4.3.jar:/root= /hbaseinstall/hbase-0.94.7/bin/../lib/snappy-java-1.0.3.2.jar:/root/hbasein= stall/hbase-0.94.7/bin/../lib/stax-api-1.0.1.jar:/root/hbaseinstall/hbase-0= .94.7/bin/../lib/velocity-1.7.jar:/root/hbaseinstall/hbase-0.94.7/bin/../li= b/xmlenc-0.52.jar:/root/hbaseinstall/hbase-0.94.7/bin/../lib/zookeeper-3.4.= 5.jar: > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > > > > > > > environment:java.library.path=3D/root/hbaseinstall/hbase-0.94.7/bin/../li= b/native/Linux-amd64-64 > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > environment:java.io.tmpdir=3D/tmp > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > environment:java.compiler=3D > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client environment:os.nam= e > > > =3DLinux > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > environment:os.arch=3Damd64 > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > environment:os.version=3D3.1.0-7.fc16.x86_64 > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client environment: > user.name > > > =3Droot > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > environment:user.home=3D/root > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Client > > > environment:user.dir=3D/root > > > 13/05/21 15:59:08 INFO zookeeper.ZooKeeper: Initiating client > connection, > > > > > > > > > connectString=3Dhbase-regionserver3:2222,hbase-regionserver2:2222,hbase-r= egionserver1:2222,hbase-master:2222 > > > sessionTimeout=3D180000 watcher=3Dhconnection > > > 13/05/21 15:59:08 DEBUG zookeeper.ClientCnxn: > > > zookeeper.disableAutoWatchReset is false > > > 13/05/21 15:59:08 INFO zookeeper.RecoverableZooKeeper: The identifier > of > > > this process is 12762@hbase-master > > > 13/05/21 15:59:08 INFO zookeeper.ClientCnxn: Opening socket connectio= n > to > > > server hbase-regionserver3/192.168.122.203:2222. Will not attempt to > > > authenticate using SASL (unknown error) > > > 13/05/21 15:59:08 INFO zookeeper.ClientCnxn: Socket connection > > established > > > to hbase-regionserver3/192.168.122.203:2222, initiating session > > > 13/05/21 15:59:08 DEBUG zookeeper.ClientCnxn: Session establishment > > request > > > sent on hbase-regionserver3/192.168.122.203:2222 > > > 13/05/21 15:59:08 INFO zookeeper.ClientCnxn: Session establishment > > complete > > > on server hbase-regionserver3/192.168.122.203:2222, sessionid =3D > > > 0x33ec8aac0f40002, negotiated timeout =3D 180000 > > > 13/05/21 15:59:08 DEBUG zookeeper.ClientCnxn: Reading reply > > > sessionid:0x33ec8aac0f40002, packet:: clientPath:null serverPath:null > > > finished:false header:: 1,3 replyHeader:: 1,51539607605,0 request:: > > > '/hbase-master/hbaseid,F response:: > > > > > > > > > s{17179869216,51539607572,1368812077009,1369166263798,12,0,0,0,59,0,17179= 869216} > > > > > > 13/05/21 15:59:08 DEBUG zookeeper.ClientCnxn: Reading reply > > > sessionid:0x33ec8aac0f40002, packet:: clientPath:null serverPath:null > > > finished:false header:: 2,4 replyHeader:: 2,51539607605,0 request:: > > > '/hbase-master/hbaseid,F response:: > > > > > > > > > #ffffffff0001231323237394068626173652d6d617374657234333565333230302d61353= 3612d346634662d393838342d393735633736333966343233,s{17179869216,51539607572= ,1368812077009,1369166263798,12,0,0,0,59,0,17179869216} > > > > > > 13/05/21 15:59:08 DEBUG zookeeper.ClientCnxn: Reading reply > > > sessionid:0x33ec8aac0f40002, packet:: clientPath:null serverPath:null > > > finished:false header:: 3,3 replyHeader:: 3,51539607605,0 request:: > > > '/hbase-master/master,T response:: > > > > > > > > > s{51539607570,51539607570,1369166263477,1369166263477,0,0,0,1767208422729= 3186,54,0,51539607570} > > > > > > 13/05/21 15:59:08 DEBUG zookeeper.ClientCnxn: Reading reply > > > sessionid:0x33ec8aac0f40002, packet:: clientPath:null serverPath:null > > > finished:false header:: 4,4 replyHeader:: 4,51539607605,0 request:: > > > '/hbase-master/master,T response:: > > > > > > > > > #ffffffff0001231323237394068626173652d6d6173746572006c6f63616c686f73742c3= 6303030302c31333639313636323633313032,s{51539607570,51539607570,13691662634= 77,1369166263477,0,0,0,17672084227293186,54,0,51539607570} > > > > > > 13/05/21 15:59:08 DEBUG zookeeper.ClientCnxn: Reading reply > > > sessionid:0x33ec8aac0f40002, packet:: clientPath:null serverPath:null > > > finished:false header:: 5,3 replyHeader:: 5,51539607605,0 request:: > > > '/hbase-master/root-region-server,T response:: > > > > > > > > > s{51539607579,51539607579,1369166269726,1369166269726,0,0,0,0,52,0,515396= 07579} > > > > > > 13/05/21 15:59:08 DEBUG zookeeper.ClientCnxn: Reading reply > > > sessionid:0x33ec8aac0f40002, packet:: clientPath:null serverPath:null > > > finished:false header:: 6,4 replyHeader:: 6,51539607605,0 request:: > > > '/hbase-master/root-region-server,T response:: > > > > > > > > > #ffffffff0001231323035384068626173652d6d61737465726c6f63616c686f73742c363= 03032302c31333639313636323335353932,s{51539607579,51539607579,1369166269726= ,1369166269726,0,0,0,0,52,0,51539607579} > > > > > > 13/05/21 15:59:08 DEBUG zookeeper.ClientCnxn: Reading reply > > > sessionid:0x33ec8aac0f40002, packet:: clientPath:null serverPath:null > > > finished:false header:: 7,3 replyHeader:: 7,51539607605,0 request:: > > > '/hbase-master,F response:: > > > > > > > > > s{17179869186,17179869186,1368811379390,1368811379390,0,88,0,0,0,12,51539= 607579} > > > > > > > > > > > > -- > > > Jay Vyas > > > http://jayunit100.blogspot.com > > > > > > > > > -- > Jay Vyas > http://jayunit100.blogspot.com > --089e01176c670dd10d04dd405c6a--