hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Kerzner <mark.kerz...@shmsoft.com>
Subject Re: HBase connection hangs
Date Tue, 14 Jan 2014 05:17:16 GMT
Ted,

here is what I see in the zookeeper log. Again, thank you for your help.

Mark

014-01-13 23:11:47,803 [myid:] - WARN  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@349] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid
0x1438f2725950005, likely client has closed socket
        at
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220)
        at
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
        at java.lang.Thread.run(Thread.java:662)
2014-01-13 23:11:47,804 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for
client /192.168.1.232:41715 which had sessionid 0x1438f2725950005



On Mon, Jan 13, 2014 at 9:31 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message