Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> Re: HBase connection hangs


Copy link to this message
-
Re: HBase connection hangs
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 <[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>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");
>>>
>>
>>
>