hadoop-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:31:38 GMT
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 <mark.kerzner@shmsoft.com>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 <yuzhihong@gmail.com> 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 <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