Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C16D2108A9 for ; Tue, 14 Jan 2014 03:28:10 +0000 (UTC) Received: (qmail 38829 invoked by uid 500); 14 Jan 2014 03:27:07 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 38741 invoked by uid 500); 14 Jan 2014 03:26:59 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 38713 invoked by uid 99); 14 Jan 2014 03:26:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 03:26:52 +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: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [74.125.82.178] (HELO mail-we0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 03:26:46 +0000 Received: by mail-we0-f178.google.com with SMTP id t60so7373564wes.37 for ; Mon, 13 Jan 2014 19:26:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=lI/XGYcMLTM6vBGPd/ZcmeRBEz7rdJuersrRE3cbmaQ=; b=Y09A3JkbTdERCGaFj2pNfJMcQYNrZcC9ar3HM58ZDjG1SfzuoDasBgwUpjVzjJOOsm YuFT6WgZY85EjwsM1UHvtW7l9PwM1njPkruI4Mdttvpyg4zpxaTEDD5J11JTHHsQ0jK/ hxNFFlbUCssq91v+iIbonNr7SczmpFbRAwNTz9bPQrvVw92MuIAXyVTr3f6pMMLDCNvW sf6e4KKlg7fk/MZqo3xzzPtnccm/bxP5Yuii93EjF2lE24Xk+qCRB5axgdZvZim3u2qZ byWDY3Hrx/9M/6LcFhHipHUhUbcjIhYf+RN8zSNJaX/rzZedZG+PuAgSvq7BjH3nCzhS v6XQ== X-Gm-Message-State: ALoCoQnHv+NAYsgT4FQWGbL6NuMI/hBaC/y53ACqIy0wVKM2uFseZVyhJzt5SSWgm1qRDm6BeNo/ MIME-Version: 1.0 X-Received: by 10.194.241.228 with SMTP id wl4mr25136983wjc.2.1389669985323; Mon, 13 Jan 2014 19:26:25 -0800 (PST) Received: by 10.194.8.71 with HTTP; Mon, 13 Jan 2014 19:26:25 -0800 (PST) X-Originating-IP: [50.162.32.156] In-Reply-To: References: Date: Mon, 13 Jan 2014 21:26:25 -0600 Message-ID: Subject: Re: HBase connection hangs From: Mark Kerzner To: Hadoop User Content-Type: multipart/alternative; boundary=089e01493c32d4a55204efe5c1c4 X-Virus-Checked: Checked by ClamAV on apache.org --089e01493c32d4a55204efe5c1c4 Content-Type: text/plain; charset=ISO-8859-1 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"); >> > > --089e01493c32d4a55204efe5c1c4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Ted,

actually I get a better error than= before, here,=A0http://pastebin.c= om/idE8R1hD

I am using the latest HBase instal= led with Cloudera.=A0

By the way, should I ask on a different mailing list?

Thank you,
Mark


On Mon, Jan 13, 2014 at 9:0= 8 PM, Ted Yu <yuzhihong@gmail.com> wrote:
Putting common-user to bcc = since this is an HBase related question.

Which version o= f 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 js= tack and pastebin it ?

Thanks


On Mon, Jan 13, 2014 at 7:00 PM, Mark Kerzner <mark.kerzner@shmsoft= .com> wrote:
Hi,

what= ever 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

=A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 hBaseConfig.addResource(new Path("/etc/hbase/conf/hbase-si= te.xml")); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
=A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 hBaseConfig.set("hbase.zookeeper.quorum", "m= ark-7");
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 hBaseConfig.set("hbase.zookeeper.= property.clientPort", "2181");
=A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 table =3D new HTable(hBaseConfig, "mytable");
<= /div>


--089e01493c32d4a55204efe5c1c4--