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 5A59B100FD for ; Wed, 9 Jul 2014 13:28:07 +0000 (UTC) Received: (qmail 35171 invoked by uid 500); 9 Jul 2014 13:28:05 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 35105 invoked by uid 500); 9 Jul 2014 13:28:05 -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 35093 invoked by uid 99); 9 Jul 2014 13:28:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 13:28:05 +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 wellington.chevreuil@gmail.com designates 209.85.220.46 as permitted sender) Received: from [209.85.220.46] (HELO mail-pa0-f46.google.com) (209.85.220.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 13:28:00 +0000 Received: by mail-pa0-f46.google.com with SMTP id eu11so9261900pac.33 for ; Wed, 09 Jul 2014 06:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=JvyBFVBCI8Q65V/18qtUYM7Bxf6GVqx2T1XKKkniUSM=; b=FuaZ6515DqtzStiR6kBAQeluIbG3ythD7Zhws0oeyHsG9JS+IDwmF9P7FVW+2Y8Aky xuajJvastF+yn+3PwQOGC53T/1ew5NT2DdFHxcUkhWFNyCe2LGw5oc7TDb3dmzvrZKsN zv3yX59A+9EzBMMLatNTsw2uWopNoPKwoImvhcXg3iEWckYhwy5sFZxl8G4xZjn/vs+z tjkwGowAdQk4NDdRM/SUnW1r9RGbIoGZNDyYHU384t0q8xZuDazWDcEhm8aBv22tOkb6 7FYFYdMH7jCdmLK4VObD9VI1SEDdpeQ7V+RaFQddrXoHfs1KWjNIQKMzHhfDB53iuDwa lGuQ== X-Received: by 10.68.167.133 with SMTP id zo5mr40772738pbb.21.1404912459804; Wed, 09 Jul 2014 06:27:39 -0700 (PDT) Received: from [192.168.1.65] (host81-147-143-13.range81-147.btcentralplus.com. [81.147.143.13]) by mx.google.com with ESMTPSA id gx10sm57112557pbd.81.2014.07.09.06.27.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jul 2014 06:27:39 -0700 (PDT) From: Wellington Chevreuil Content-Type: multipart/alternative; boundary="Apple-Mail=_98D73ED5-E700-46E1-B95B-24A1BA1B4F28" Message-Id: <5D0E0AFA-7834-44CB-8B7F-32C65359D291@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: HBase Master cannot be contacted by Region Servers Date: Wed, 9 Jul 2014 14:27:35 +0100 References: To: user@hbase.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1878.2) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_98D73ED5-E700-46E1-B95B-24A1BA1B4F28 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I guess you also may need to set the zookeeper client port, on your = hbase-site: hbase.zookeeper.property.clientPort 2181 On 9 Jul 2014, at 14:18, Cosmin C=C4=83t=C4=83lin Sanda = wrote: > I have a Hadoop cluster made of 3 slaves and 1 master on top of which > there is an HBase cluster with 3 RS and 1 master respectively. > Additionally there is a Zookeeper ensemble on 3 machines. >=20 > The Hadoop cluster is functioning correctly as well as the Zookeeper > ensemble. However, the HBase cluster fails to initialize correctly. >=20 > I start HBase it by running ./bin/start-hbase.sh. This correctly > starts the HBase Master and the Region Servers. The hbase folder in > hdfs is set-up correctly. >=20 > jps on master >=20 > hduser@master:~/hbase$ jps > 5694 HMaster > 3934 JobHistoryServer > 3786 NameNode > 3873 ResourceManager > 6025 Jps >=20 > jps on slaves >=20 > 5737 Jps > 5499 HRegionServer > 3736 DataNode > 3820 NodeManager >=20 > However, the HBase master does not register the Region Servers as it > is also apparent from looking at the logs: >=20 > master log >=20 > [master:master:60000] master.ServerManager: Waiting for region servers > count to settle; currently checked in 0, slept for 1511 ms, expecting > minimum of 1, maximum of 2147483647, timeout of 4500 ms, interval of > 1500 ms. >=20 > slave log >=20 > [regionserver60020] regionserver.HRegionServer: reportForDuty to > master=3Dmaster,60000,1404856451890 with port=3D60020, > startcode=3D1404856453874 > [regionserver60020] regionserver.HRegionServer: error telling master = we are up > com.google.protobuf.ServiceException: > org.apache.hadoop.net.ConnectTimeoutException: 20000 millis timeout > while waiting for channel to be ready for connect. ch : > java.nio.channels.SocketChannel[connection-pending > local=3D/10.0.2.15:53939 remote=3Dmaster/192.168.66.60:60000] >=20 > Here are the configuration details: >=20 > /etc/hosts on master >=20 > 192.168.66.63 slave-3 # Data Node and Region Server > 192.168.66.60 master # Name Node and HBase Master > 192.168.66.73 zookeeper-3 # Zookeeper node > 192.168.66.71 zookeeper-1 # Zookeeper node > 192.168.66.72 zookeeper-2 # Zookeeper node > 192.168.66.62 slave-2 # Data Node and Region Server > 192.168.66.61 slave-1 # Data Node and Region Server >=20 > /etc/hosts on slave-1 >=20 > 192.168.66.60 master > 192.168.66.73 zookeeper-3 > 192.168.66.71 zookeeper-1 > 192.168.66.72 zookeeper-2 >=20 > hbase-site.xml on ALL cluster nodes >=20 > > > > > hbase.tmp.dir > /home/hduser/hbase/tmp > > > hbase.rootdir > hdfs://master/hbase > > > hbase.cluster.distributed > true > > > hbase.local.dir > /home/hduser/hbase/local > > > hbase.master.info.port > 6010 > > > hbase.zookeeper.quorum > zookeeper-1,zookeeper-2,zookeeper-3, > > >=20 > regionservers file on master and slaves >=20 > slave-3 > slave-1 > slave-2 >=20 > hbase-env.sh on master and slaves >=20 > export JAVA_HOME=3D$(readlink -f /usr/bin/javac | sed "s:/bin/javac::" > export HBASE_OPTS=3D"-XX:+UseConcMarkSweepGC" > export HBASE_MANAGES_ZK=3Dfalse >=20 > What am I doing wrong so that the nodes cannot talk to each other? >=20 > I am using Hadoop 2.4.0 and HBase 0.98.3 along with Zookeeper 3.4.6 on > Ubuntu Trusty Tahr x64. --Apple-Mail=_98D73ED5-E700-46E1-B95B-24A1BA1B4F28--