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 7B569108C7 for ; Tue, 14 Jan 2014 03:33:54 +0000 (UTC) Received: (qmail 49288 invoked by uid 500); 14 Jan 2014 03:32:34 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 49095 invoked by uid 500); 14 Jan 2014 03:32:22 -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 49007 invoked by uid 99); 14 Jan 2014 03:32:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 03:32: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 (nike.apache.org: domain of yuzhihong@gmail.com designates 209.85.217.174 as permitted sender) Received: from [209.85.217.174] (HELO mail-lb0-f174.google.com) (209.85.217.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 03:31:59 +0000 Received: by mail-lb0-f174.google.com with SMTP id p9so4145179lbv.33 for ; Mon, 13 Jan 2014 19:31:39 -0800 (PST) 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=jxs1tx96dJDKUuNgK7ZiPnJvzM8dMxmbuXBvDCxjmTg=; b=Sr0PqZfHuk0EaSOAPhFGcCWHUiNyFEYuhvZTOOVImX4vsQYBSC2Skp+qNWGoju4a4o gmWludKNVZE9qeMy5OWYqKWM3hbDPjUQmcO6E70/oiTx+3OK+YBRaVmPkcyWdpxn0HzG 342LeSZXQ7CynV2fh0Vuk7UhIOOq2pnGdMmp2YiAqYyePGu5ieUAdtkRKj6ZpvuMqSmT gYUU2CerWreHTbjFC0vP3w1l0Cq7c3LsfHWKlrxgV+kbICFL025A6IoKqHpcb49oUux6 dRUQlXnKkMamSg0yxspDIMFDSpnp1KtrLXoEXZQLmOweSB+ygooPwKUe2fCbB3/7A+3+ Z6KQ== MIME-Version: 1.0 X-Received: by 10.152.204.39 with SMTP id kv7mr5952745lac.42.1389670299021; Mon, 13 Jan 2014 19:31:39 -0800 (PST) Received: by 10.112.212.102 with HTTP; Mon, 13 Jan 2014 19:31:38 -0800 (PST) In-Reply-To: References: Date: Mon, 13 Jan 2014 19:31:38 -0800 Message-ID: Subject: Re: HBase connection hangs From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a113440a68734ee04efe5d4a0 X-Virus-Checked: Checked by ClamAV on apache.org --001a113440a68734ee04efe5d4a0 Content-Type: text/plain; charset=ISO-8859-1 Putting common-user in bcc one more time. Please reply to user@hbase. The following seems to indicate that there was problem with zookeeper : 1. 1862 [pool-2-thread-1] WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - Possibly transient ZooKeeper, quorum=mark-7:2181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid On Mon, Jan 13, 2014 at 7:26 PM, Mark Kerzner wrote: > Ted, > > actually I get a better error than before, here, > http://pastebin.com/idE8R1hD > > I am using the latest HBase installed with Cloudera. > > By the way, should I ask on a different mailing list? > > Thank you, > Mark > > > On Mon, Jan 13, 2014 at 9:08 PM, Ted Yu wrote: > >> Putting common-user to bcc since this is an HBase related question. >> >> Which version of HBase are you using ? >> Can you say a bit more about the cluster you're connecting to ? >> >> When your client hangs at the last line, can you get jstack and pastebin >> it ? >> >> Thanks >> >> >> On Mon, Jan 13, 2014 at 7:00 PM, Mark Kerzner wrote: >> >>> Hi, >>> >>> whatever combination of lines below I use, the code always hangs on >>> connecting to HBase (last line). I am almost dead from attempts to make it >>> work. >>> >>> Thank you very much. >>> >>> Mark >>> >>> hBaseConfig.addResource(new >>> Path("/etc/hbase/conf/hbase-site.xml")); >>> hBaseConfig.set("hbase.zookeeper.quorum", "mark-7"); >>> hBaseConfig.set("hbase.zookeeper.property.clientPort", >>> "2181"); >>> table = new HTable(hBaseConfig, "mytable"); >>> >> >> > --001a113440a68734ee04efe5d4a0--