hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: HBase connection hangs
Date Tue, 14 Jan 2014 03:08:28 GMT
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 <mark.kerzner@shmsoft.com>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");
>

Mime
View raw message