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

Switch to Threaded View
HBase, mail # user - Standard vs Asynchbase client reconnect after HBase restart


Copy link to this message
-
Re: Standard vs Asynchbase client reconnect after HBase restart
lars hofhansl 2014-02-13, 22:20
Haven't found time, yet. :(
Are you bouncing just HBase or Zookeeper as well? I found the ZK client to be frequently the main source delay for "reconnecting".
(note also that if run HBase in local mode it will manage ZK for you as well, and the ZK port might change upon restart, which the client does not handle well)

________________________________
 From: Kristoffer Sjögren <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Wednesday, February 12, 2014 11:54 PM
Subject: Re: Standard vs Asynchbase client reconnect after HBase restart
 

@Ted We are using HBase 0.94.6 from CDH 4 to be exact.

@Lars Thanks a lot!

@Mike Just to be clear - the test is using HConnection [1]
and HBaseClient [2] which is what I refer to as the 'client'. With
'recovered' I mean that the client has gone from 'unresponsive' to being
able query and insert data into HBase.

1.
http://hbase.apache.org/0.94/apidocs/org/apache/hadoop/hbase/client/HConnection.html
2.
http://tsunanet.net/~tsuna/asynchbase/api/org/hbase/async/HBaseClient.html

On Thu, Feb 13, 2014 at 1:11 AM, Michael Segel <[EMAIL PROTECTED]>wrote: