Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ECC2517DC6 for ; Tue, 21 Apr 2015 19:18:43 +0000 (UTC) Received: (qmail 1679 invoked by uid 500); 21 Apr 2015 19:18:43 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 1594 invoked by uid 500); 21 Apr 2015 19:18:43 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 1581 invoked by uid 99); 21 Apr 2015 19:18:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 19:18:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.191.145.13 which is an MX secondary for dev@hbase.apache.org) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 19:18:38 +0000 Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id B771C272FF for ; Tue, 21 Apr 2015 19:03:56 +0000 (UTC) Received: by oign205 with SMTP id n205so161000144oig.2 for ; Tue, 21 Apr 2015 12:03:56 -0700 (PDT) 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=GBqszz6cZ939HLpmfhptM6gGWSVgfsD6Pyzy7Y/ifnE=; b=nHKi4cW1jKvj0yEeZBqEfgf7+CxCUVf6Olx3ExKA2DcT26jNjVZv80C5Gjo1E1jNei 2b9+flf06vRHlNuAuK3ckFr60wA1OFspErbMC0Z6VSy6bF5hNap3VjyvrdyDpLoAIMvu eotwhpulQqUBPpo/D8wgYSyWKIN3MtyrZTJlAxubOVxrHmV9p2rjQL4VEPGqpglz2DPq b7S91DL98+Oq9mA4gG41uzpQ9PndJgNo6xjF8Ufhany8Me8Q/xWBaTZcGs5yqMKmCYcX KfmDkfMj3x954cQ8fSY7uftiv/QhDTNIGp4LmeMR7PAWR/VS/QKcPDeGSirpeGG9XfEz MbTQ== MIME-Version: 1.0 X-Received: by 10.182.243.228 with SMTP id xb4mr20441236obc.86.1429643036127; Tue, 21 Apr 2015 12:03:56 -0700 (PDT) Received: by 10.202.177.2 with HTTP; Tue, 21 Apr 2015 12:03:56 -0700 (PDT) In-Reply-To: <33905C8E-5815-4722-A233-E93E32B923CE@uchicago.edu> References: <33905C8E-5815-4722-A233-E93E32B923CE@uchicago.edu> Date: Tue, 21 Apr 2015 12:03:56 -0700 Message-ID: Subject: Re: Base can't start due to Zookeeper From: Ted Yu To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11c24a3e52f83a051440b573 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c24a3e52f83a051440b573 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable bq. pc440.emulab.net,pc439.emulab.net< http://pc439.emulab.net> Please confirm whether the above is the actual content in hbase-site.xml Looks like the quorum is badly formatted. Cheers On Tue, Apr 21, 2015 at 11:38 AM, Bo Fu wrote: > Hi, > > I=E2=80=99m a beginner of HBase. I=E2=80=99m recently deploying HBase 1.0= .0 onto Emulab > using Hadoop 2.6.0 > When I type bin/start-hbase.sh, Hbase and HRegionservers starts and then > shut down. The master log are as follows: > > 2015-04-21 12:13:58,607 INFO [main-SendThread(pc439.emulab.net< > http://pc439.emulab.net>:2181)] zookeeper.ClientCnxn: Opening socket > connection to server pc439.emulab.net/155.98.38.39:2181< > http://pc439.emulab.net/155.98.38.39:2181>. Will not attempt to > authenticate using SASL (unknown error) > 2015-04-21 12:13:58,608 INFO [main-SendThread(pc439.emulab.net< > http://pc439.emulab.net>:2181)] zookeeper.ClientCnxn: Socket connection > established to pc439.emulab.net/155.98.38.39:2181< > http://pc439.emulab.net/155.98.38.39:2181>, initiating session > 2015-04-21 12:13:58,609 INFO [main-SendThread(pc439.emulab.net< > http://pc439.emulab.net>:2181)] zookeeper.ClientCnxn: Unable to read > additional data from server sessionid 0x0, likely server has closed socke= t, > closing socket connection and attempting reconnect > 2015-04-21 12:13:59,513 INFO [main-SendThread(pc440.emulab.net< > http://pc440.emulab.net>:2181)] zookeeper.ClientCnxn: Opening socket > connection to server pc440.emulab.net/155.98.38.40:2181< > http://pc440.emulab.net/155.98.38.40:2181>. Will not attempt to > authenticate using SASL (unknown error) > 2015-04-21 12:13:59,513 INFO [main-SendThread(pc440.emulab.net< > http://pc440.emulab.net>:2181)] zookeeper.ClientCnxn: Socket connection > established to pc440.emulab.net/155.98.38.40:2181< > http://pc440.emulab.net/155.98.38.40:2181>, initiating session > 2015-04-21 12:13:59,514 INFO [main-SendThread(pc440.emulab.net< > http://pc440.emulab.net>:2181)] zookeeper.ClientCnxn: Unable to read > additional data from server sessionid 0x0, likely server has closed socke= t, > closing socket connection and attempting reconnect > 2015-04-21 12:14:01,531 INFO [main-SendThread(pc439.emulab.net< > http://pc439.emulab.net>:2181)] zookeeper.ClientCnxn: Opening socket > connection to server pc439.emulab.net/155.98.38.39:2181< > http://pc439.emulab.net/155.98.38.39:2181>. Will not attempt to > authenticate using SASL (unknown error) > 2015-04-21 12:14:01,531 INFO [main-SendThread(pc439.emulab.net< > http://pc439.emulab.net>:2181)] zookeeper.ClientCnxn: Socket connection > established to pc439.emulab.net/155.98.38.39:2181< > http://pc439.emulab.net/155.98.38.39:2181>, initiating session > 2015-04-21 12:14:01,532 INFO [main-SendThread(pc439.emulab.net< > http://pc439.emulab.net>:2181)] zookeeper.ClientCnxn: Unable to read > additional data from server sessionid 0x0, likely server has closed socke= t, > closing socket connection and attempting reconnect > 2015-04-21 12:14:01,633 WARN [main] zookeeper.RecoverableZooKeeper: > Possibly transient ZooKeeper, quorum=3Dpc439.emulab.net< > http://pc439.emulab.net>:2181,pc440.emulab.net:2= 181, > exception=3Dorg.apache.zookeeper.KeeperException$ConnectionLossException: > KeeperErrorCode =3D ConnectionLoss for /hbase > 2015-04-21 12:14:01,633 ERROR [main] zookeeper.RecoverableZooKeeper: > ZooKeeper create failed after 4 attempts > 2015-04-21 12:14:01,634 ERROR [main] master.HMasterCommandLine: Master > exiting > java.lang.RuntimeException: Failed construction of Master: class > org.apache.hadoop.hbase.master.HMaster > at > org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:1982) > at > org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterComm= andLine.java:198) > at > org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.= java:139) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at > org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.j= ava:126) > at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1996) > Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: > KeeperErrorCode =3D ConnectionLoss for /hbase > at > org.apache.zookeeper.KeeperException.create(KeeperException.java:99) > at > org.apache.zookeeper.KeeperException.create(KeeperException.java:51) > at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783) > at > org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequentia= l(RecoverableZooKeeper.java:512) > at > org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(Recoverable= ZooKeeper.java:491) > at > org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:12= 52) > at > org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:12= 30) > at > org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKe= eperWatcher.java:174) > at > org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.(ZooKeeperWatche= r.java:167) > > My Hbase-site.xml is: > > > hbase.master > 10.10.10.2:60000 > > > hbase.rootdir > hdfs://hadoopmaster:9000/hbase > > > hbase.zookeeper.property.dataDir > /proj/ucare/bo/hadoop_data/zookeeper > > > hbase.zookeeper.quorum > pc440.emulab.net,pc439.emulab.net< > http://pc439.emulab.net> > The directory shared by RegionServers. > > > > hbase.cluster.distributed > true > > > dfs.replication > 1 > > > > The regionservers file is: > > BF@pc440.emulab.net > BF@pc439.emulab.net > > Someone could tell me how to fix it? > > Thanks a lot! > > Bo > > --001a11c24a3e52f83a051440b573--