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 8A10510851 for ; Tue, 14 Jan 2014 03:12:16 +0000 (UTC) Received: (qmail 27049 invoked by uid 500); 14 Jan 2014 03:09:03 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 26971 invoked by uid 500); 14 Jan 2014 03:08:58 -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 26957 invoked by uid 99); 14 Jan 2014 03:08:54 -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:08:54 +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 yuzhihong@gmail.com designates 209.85.217.169 as permitted sender) Received: from [209.85.217.169] (HELO mail-lb0-f169.google.com) (209.85.217.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 03:08:50 +0000 Received: by mail-lb0-f169.google.com with SMTP id q8so3076125lbi.28 for ; Mon, 13 Jan 2014 19:08:28 -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=CkYQxDXZpW1yHaG1qm8lhCWbxqc7VS8N7CVON/FMqR4=; b=MjMBKQHE1Au22MRhPoRIqEEQqCYmlNdbLuTkNIBwJ1HgBvqiK8TscdXz0dKaIzp7wF V7P1J/q8wz7z28lkVUXK7ZHyTwPqHWrM7X2x3uTdDEo5165Ox7f25/67R/d05GJpr0PH mEWYbvl6bJE/BVPiAgJ2CCbmxQdOBRvLl2BM2R32YuXfjB8j6Gmwa1dmBU0/j7t7r7St OeKS6Drd3AvbcSNv1f0a+DHRCLAqLwKScjZnLdbBJD65jGQWB6DM57oax936Vs0dwcsL 41EED5tLl3cfd0UsSlY5eaJjGvSoRrJb6k6McGw64iws3xHoKMVfWB5WnpWW7xYw9haQ UYIQ== MIME-Version: 1.0 X-Received: by 10.152.2.5 with SMTP id 5mr12222393laq.21.1389668908605; Mon, 13 Jan 2014 19:08:28 -0800 (PST) Received: by 10.112.212.102 with HTTP; Mon, 13 Jan 2014 19:08:28 -0800 (PST) In-Reply-To: References: Date: Mon, 13 Jan 2014 19:08:28 -0800 Message-ID: Subject: Re: HBase connection hangs From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e013c6640a7254c04efe58159 X-Virus-Checked: Checked by ClamAV on apache.org --089e013c6640a7254c04efe58159 Content-Type: text/plain; charset=ISO-8859-1 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"); > --089e013c6640a7254c04efe58159 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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 js= tack and pastebin it ?

Thanks


On Mon, Jan 13, 2014 a= t 7:00 PM, Mark Kerzner <mark.kerzner@shmsoft.com> wr= ote:
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>

--089e013c6640a7254c04efe58159--