Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 40E1010811 for ; Tue, 14 Jan 2014 03:03:14 +0000 (UTC) Received: (qmail 11011 invoked by uid 500); 14 Jan 2014 03:01:13 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 10738 invoked by uid 500); 14 Jan 2014 03:01:10 -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 10712 invoked by uid 99); 14 Jan 2014 03:01:07 -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:01:07 +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.177] (HELO mail-we0-f177.google.com) (74.125.82.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 03:01:00 +0000 Received: by mail-we0-f177.google.com with SMTP id x55so4993536wes.8 for ; Mon, 13 Jan 2014 19:00:39 -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:date:message-id:subject:from:to :content-type; bh=3RmjUcU8O5wM4JJUFc/GVGVsb3c7rs2+ppmiIyaYYik=; b=GcrbWGrEnViAsXWQazhxWd9ZnFpyOACQr/+vGInAoZSbnzlMfRyFGQ/vSe7/3yJwQd 2Mg93XIyu7ZMg5Lz9wDflPFbjMVaeCeRoPIjdylHYaCpWgEnsqRYneAEQtI/Nh5n/71k lZvUhqre49iVpE7p7CBjHF+uMb/Kp61VQqH7zBIa2Fq/Omkh0SVcoFF8hSQWdlesVuzE 0i/RF34g3bPDFitEBEyQjNujhUGKSyA6Kwgh2DG2eW/qglPr6aXx3xmScLswc4U4WbBx euWORkYzuQG/FnqQK+63vmp4AqiV71DF+epwGzHlJXqn/yTPMF3SMESfVNCUEPntQOAM 1ylQ== X-Gm-Message-State: ALoCoQnRKgWf04aFU7amzwhy8HX0eqRZC0ouoP+j4gSzrxo9NCca6lTuyI++Bp44sjfZCcsLUlsA MIME-Version: 1.0 X-Received: by 10.180.206.138 with SMTP id lo10mr423606wic.25.1389668439227; Mon, 13 Jan 2014 19:00:39 -0800 (PST) Received: by 10.194.8.71 with HTTP; Mon, 13 Jan 2014 19:00:39 -0800 (PST) X-Originating-IP: [50.162.32.156] Date: Mon, 13 Jan 2014 21:00:39 -0600 Message-ID: Subject: HBase connection hangs From: Mark Kerzner To: Hadoop User Content-Type: multipart/alternative; boundary=001a11c26b26ad138704efe5657d X-Virus-Checked: Checked by ClamAV on apache.org --001a11c26b26ad138704efe5657d Content-Type: text/plain; charset=ISO-8859-1 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"); --001a11c26b26ad138704efe5657d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

whatever combination of lines below= I use, the code always hangs on connecting to HBase (last line). I am almo= st dead from attempts to make it work.

Thank you v= ery 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>
--001a11c26b26ad138704efe5657d--