@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:

> Silly question...
> What makes you think that what you are seeing isn't already as fast as
> possible?
>
> You are looking at an async client versus a synchronous client, right?
>
> Also... what do you mean when you say 'client recovers' ...
> How are you measuring that the client has recovered?
>
> Thx
>
> -Mike
>
>
> On Feb 12, 2014, at 2:41 AM, Kristoffer Sjögren <[email protected]> wrote:
>
> > Hi
> >
> > I have some tests that check client behaviour during a controlled HBase
> > restart. Everything works as expected and the client is able to recover
> > after a while.
> >
> > However, after doing the same tests with the Asynchbase I noticed that
> this
> > client recovers almost instantly after HBase comes back up - whereas the
> > standard HConnection recovers much later (around 30 seconds).
> >
> > I played around with two properties without much time to recovery
> reduction.
> >
> > fail.fast.expired.active.master=true
> > zookeeper.session.timeout=5000
> >
> > Any tips on how to improve time to recovery?
> >
> > Cheers,
> > -Kristoffer
>
> The opinions expressed here are mine, while they may reflect a cognitive
> thought, that is purely accidental.
> Use at your own risk.
> Michael Segel
> michael_segel (AT) hotmail.com
>
>
>
>
>
>

Reply via email to