Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-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 3CB9B10209 for ; Wed, 6 Nov 2013 11:07:05 +0000 (UTC) Received: (qmail 57988 invoked by uid 500); 6 Nov 2013 11:03:37 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 57570 invoked by uid 500); 6 Nov 2013 11:03:01 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 57466 invoked by uid 99); 6 Nov 2013 11:02:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 11:02:55 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FORGED_YAHOO_RCVD,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.213.154] (HELO nm9-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.154) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 11:02:49 +0000 Received: from [98.139.214.32] by nm9.bullet.mail.bf1.yahoo.com with NNFMP; 06 Nov 2013 11:02:28 -0000 Received: from [98.139.211.206] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 06 Nov 2013 11:02:28 -0000 Received: from [127.0.0.1] by smtp215.mail.bf1.yahoo.com with NNFMP; 06 Nov 2013 11:02:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1383735748; bh=Cc2GMT8GUWxJaDxi+yD3DtN84MPCUXd1E8q7aw8/04Y=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=v1RzEjy61XVSo+1OwjYdPpAhti6vwKJDVoVgioF3w5RgILd2ro9h3Me1BItJRA291rX3KzSDHhs58IeafdMLmkvynTXW6wSFvcSuD5cuY3Cko+wrmkK5JiY6f8XlMuhu3m209cCVdGBYhC6KfTHy/9UpGXE32bN3EAfp18Z6WXo= X-Yahoo-Newman-Id: 650647.69508.bm@smtp215.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 5waA3ukVM1kf_POa2WFMfpYkZsXvcm2lWvw0.ydsFlItlyK pYp50AfDU4OX6iynQbTP47wqWQAfi8nDoNb7gkk1X.a_5mvZCOlNHu3Y6pED L3sWXUkFph.egLa7pl7aaaG36BYgv7UdcJvzWzMWi3crZCg2d688PXQ2IYjA bl7QV01yJWlk9g3UzhvtdmvvLk0DEjXteBHAgErXyu8dWAUpJVgTs4AZ4ciq mJ8huoTQP2jzpHZOBEznDgG_vZYvpUy8WXn24VRDHJAzhOOm.Nf1wqtR7RTd QhI2.fslX1vurccElE96rKonprtKhPoxPZVnp9DnVNlmERAhkrWCYwP.q7TH nkpli6D2.S3.MBLR83zurnekPxbh6P9NVI07owbB1hmFP4o25lSNObKXcU_U zpZOXRxwdz_0sTlIdJ2Lr1DlaQ6C3gvHQrmRWCS_uCKMbior1.3cwwBVUD2_ nhOFmvncJE_8cTRVsm5d8tnCmQLBKcxHtVgniQX5Yct_MYuEW2nEtGEPU1wc c7nj_oc.40.OrAejIul67EuslX5g.H1QFn3Zyhn2iVBxqEQmJtIOwGh4UsAb Kc3hqEQ5fyiFCYLNc72iV1sejCp9uNQfh4bXOCg8To1h5Efco4IgKGD.0x6B Lg0Dh9Za1hCKO_O4hcLgrTJZNHhJeImyEFM1w.GEiDASft8xgBFtF.vQaUi8 Ifocifrh_3tfk_qTMQDOG6tSsBV6ZVEWDmL.lxK5wr2x.vNZRLxdeNmavnDy tpzdHDB.KKDQkD1LFxTRTO3u.59pEQvEwaXm9pkk7Vvz4h5w3Br6Co7utOg8 SmlEVRe1AnvJDBftdJ089I9nek4ZLogEhqWZa9.Ic8V.8YcU0POUoNGEPx6v NKzTD.RL0QEZimTPpljE- X-Yahoo-SMTP: HT5UJDeswBACWJPOeualxAa.da..S.fl X-Rocket-Received: from [192.168.1.34] (fpjunqueira@213.98.194.238 with ) by smtp215.mail.bf1.yahoo.com with SMTP; 06 Nov 2013 03:02:28 -0800 PST Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Struggling to use Zookeeper 3.4.5-1392090 for HBase 0.94.9 tests From: Flavio Junqueira In-Reply-To: Date: Wed, 6 Nov 2013 12:02:25 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@zookeeper.apache.org X-Mailer: Apple Mail (2.1508) X-Virus-Checked: Checked by ClamAV on apache.org The server seems to be binding to a different than the one the client is = trying to connect to: >> Started MiniZK >> Cluster and connect 1 ZK server on client port: 60055 >> Opening socket connection to >> server localhost/127.0.0.1:2181. Will not attempt to authenticate = using >> SASL (unknown error) -Flavio On Nov 6, 2013, at 11:54 AM, Lewis John Mcgibbney = wrote: > For anyone who's interested the full build output in all its glory can = be > found here > = https://builds.apache.org/job/GORA_94_BRANCH/134/org.apache.gora$gora-hbas= e/consoleText > Thanks again for any help that comes my way. > Best > Lewis >=20 >=20 > On Wed, Nov 6, 2013 at 10:53 AM, Lewis John Mcgibbney < > lewis.mcgibbney@gmail.com> wrote: >=20 >> Hi Zookeepers, >> I'm in the process of upgrading the HBase version over in Apache Gora = from >> 0.90.4 to 0.94.9. >> For our test suite we use an embedded HBase cluster [0]. The = configuration >> for which can also be seen here [1]. >> When I attempt to initiate the HBase cluster, I get the following = output >> (I've removed the classpath entries for brevity). >>=20 >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:zookeeper.version=3D3.4.5-1392090, built on 09/30/2012 = 17:52 GMT >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server environment: >> host.name=3Dlocalhost >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:java.version=3D1.7.0_45 >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:java.vendor=3DOracle Corporation >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:java.home=3D/usr/java/jdk1.7.0_45/jre >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> = environment:java.class.path=3D/home/mary/Downloads/apache/GORA_94/gora-hba= se/target/test-classes: >> ... >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> = environment:java.library.path=3D/usr/java/packages/lib/i386:/lib:/usr/lib >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:java.io.tmpdir=3D/tmp >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:java.compiler=3D >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server = environment:os.name >> =3DLinux >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:os.arch=3Di386 >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:os.version=3D3.5.0-42-generic >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server environment: >> user.name=3Dmary >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:user.home=3D/home/mary >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server >> environment:user.dir=3D/home/mary/Downloads/apache/GORA_94/gora-hbase >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Created server with >> tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 datadir >> = /home/mary/Downloads/apache/GORA_94/gora-hbase/target/test-data/8f63a38c-2= dcf-4b7a-91a3-f4e7100fa06f/dfscluster_9f234a3d-96ad-49c7-a46e-3c731f728cd8= /zookeeper_0/version-2 >> snapdir >> = /home/mary/Downloads/apache/GORA_94/gora-hbase/target/test-data/8f63a38c-2= dcf-4b7a-91a3-f4e7100fa06f/dfscluster_9f234a3d-96ad-49c7-a46e-3c731f728cd8= /zookeeper_0/version-2 >> 13/11/06 10:32:21 INFO server.NIOServerCnxnFactory: binding to port >> 0.0.0.0/0.0.0.0:60055 >> 13/11/06 10:32:22 INFO persistence.FileTxnSnapLog: Snapshotting: 0x0 = to >> = /home/mary/Downloads/apache/GORA_94/gora-hbase/target/test-data/8f63a38c-2= dcf-4b7a-91a3-f4e7100fa06f/dfscluster_9f234a3d-96ad-49c7-a46e-3c731f728cd8= /zookeeper_0/version-2/snapshot.0 >> 13/11/06 10:32:22 INFO server.NIOServerCnxnFactory: Accepted socket >> connection from /127.0.0.1:44504 >> 13/11/06 10:32:22 INFO server.NIOServerCnxn: Processing stat command = from / >> 127.0.0.1:44504 >> 13/11/06 10:32:22 INFO server.NIOServerCnxn: Stat command output >> 13/11/06 10:32:22 INFO zookeeper.MiniZooKeeperCluster: Started MiniZK >> Cluster and connect 1 ZK server on client port: 60055 >> ... >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> environment:zookeeper.version=3D3.4.5-1392090, built on 09/30/2012 = 17:52 GMT >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client = environment:host.name >> =3Dlocalhost >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> environment:java.version=3D1.7.0_45 >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> environment:java.vendor=3DOracle Corporation >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> environment:java.home=3D/usr/java/jdk1.7.0_45/jre >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> = environment:java.class.path=3D/home/mary/Downloads/apache/GORA_94/gora-hba= se/target/test-classes: >> ... >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> = environment:java.library.path=3D/usr/java/packages/lib/i386:/lib:/usr/lib >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> environment:java.io.tmpdir=3D/tmp >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> environment:java.compiler=3D >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client = environment:os.name >> =3DLinux >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client = environment:os.arch=3Di386 >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> environment:os.version=3D3.5.0-42-generic >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client = environment:user.name >> =3Dmary >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> environment:user.home=3D/home/mary >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Client >> environment:user.dir=3D/home/mary/Downloads/apache/GORA_94/gora-hbase >> 13/11/06 10:32:23 INFO zookeeper.ZooKeeper: Initiating client = connection, >> connectString=3Dlocalhost:2181 sessionTimeout=3D20000 = watcher=3Dmaster:49556 >> 13/11/06 10:32:23 INFO zookeeper.RecoverableZooKeeper: The identifier = of >> this process is 3297@mary-ISTART-2380 >> 13/11/06 10:32:23 INFO zookeeper.ClientCnxn: Opening socket = connection to >> server localhost/127.0.0.1:2181. Will not attempt to authenticate = using >> SASL (unknown error) >> 13/11/06 10:32:23 WARN zookeeper.ClientCnxn: Session 0x0 for server = null, >> unexpected error, closing socket connection and attempting reconnect >> java.net.ConnectException: Connection refused >> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) >> at >> = sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735) >> at >> = org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.j= ava:350) >> at = org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068) >> 13/11/06 10:32:23 WARN zookeeper.RecoverableZooKeeper: Possibly = transient >> ZooKeeper exception: >> org.apache.zookeeper.KeeperException$ConnectionLossException: >> KeeperErrorCode =3D ConnectionLoss for /hbase >> 13/11/06 10:32:23 INFO util.RetryCounter: Sleeping 2000ms before = retry >> #1... >>=20 >> Based on the way we run the instance and the zoo.cfg, I wonder if = anyone >> can point out to me what I need to do (config-wise?) to permit the >> connection? >>=20 >> Thank you very much in advance. >> Best >> Lewis >>=20 >>=20 >> [0] >> = https://svn.apache.org/repos/asf/gora/branches/GORA_94/gora-hbase/src/test= /java/org/apache/gora/hbase/util/HBaseClusterSingleton.java >> [1] >> = https://svn.apache.org/repos/asf/gora/branches/GORA_94/gora-hbase/src/test= /conf/ >>=20 >> -- >> *Lewis* >>=20 >=20 >=20 >=20 > --=20 > *Lewis*