You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Peter Haidinyak <ph...@local.com> on 2011/02/07 19:07:28 UTC
How long can I have a table open?
During my import process I create a connection to a table. How long can I leave that connection open without using it before HBase will try to close it?
Hadoop 0.20.2+737
HBase 0.89.20100924+28
Thanks
-Pete
RE: How long can I have a table open?
Posted by Jonathan Gray <jg...@fb.com>.
What's the nature of the stability problems? These are issues seen server-side or just client-side?
Restarting your long-running clients fixes the issues?
> -----Original Message-----
> From: Peter Haidinyak [mailto:phaidinyak@local.com]
> Sent: Monday, February 07, 2011 11:29 AM
> To: user@hbase.apache.org
> Subject: RE: How long can I have a table open?
>
> Thanks, I have been having some real stability problems with my cluster and
> I'm trying to narrow down the possible problems.
>
> -Pete
>
> -----Original Message-----
> From: Jonathan Gray [mailto:jgray@fb.com]
> Sent: Monday, February 07, 2011 11:27 AM
> To: user@hbase.apache.org
> Subject: RE: How long can I have a table open?
>
> There is not really a limit on that. Underneath, the client will deal with
> following regions around if the move, a new master if there is a failover,
> etc...
>
> The only thing that cannot be left open indefinitely is a scanner (they have a
> server-side lease and expire if left idle).
>
> JG
>
> > -----Original Message-----
> > From: Peter Haidinyak [mailto:phaidinyak@local.com]
> > Sent: Monday, February 07, 2011 10:07 AM
> > To: user@hbase.apache.org
> > Subject: How long can I have a table open?
> >
> > During my import process I create a connection to a table. How long
> > can I leave that connection open without using it before HBase will try to
> close it?
> >
> > Hadoop 0.20.2+737
> > HBase 0.89.20100924+28
> >
> > Thanks
> >
> > -Pete
RE: How long can I have a table open?
Posted by Peter Haidinyak <ph...@local.com>.
Thanks, I have been having some real stability problems with my cluster and I'm trying to narrow down the possible problems.
-Pete
-----Original Message-----
From: Jonathan Gray [mailto:jgray@fb.com]
Sent: Monday, February 07, 2011 11:27 AM
To: user@hbase.apache.org
Subject: RE: How long can I have a table open?
There is not really a limit on that. Underneath, the client will deal with following regions around if the move, a new master if there is a failover, etc...
The only thing that cannot be left open indefinitely is a scanner (they have a server-side lease and expire if left idle).
JG
> -----Original Message-----
> From: Peter Haidinyak [mailto:phaidinyak@local.com]
> Sent: Monday, February 07, 2011 10:07 AM
> To: user@hbase.apache.org
> Subject: How long can I have a table open?
>
> During my import process I create a connection to a table. How long can I
> leave that connection open without using it before HBase will try to close it?
>
> Hadoop 0.20.2+737
> HBase 0.89.20100924+28
>
> Thanks
>
> -Pete
RE: How long can I have a table open?
Posted by Jonathan Gray <jg...@fb.com>.
There is not really a limit on that. Underneath, the client will deal with following regions around if the move, a new master if there is a failover, etc...
The only thing that cannot be left open indefinitely is a scanner (they have a server-side lease and expire if left idle).
JG
> -----Original Message-----
> From: Peter Haidinyak [mailto:phaidinyak@local.com]
> Sent: Monday, February 07, 2011 10:07 AM
> To: user@hbase.apache.org
> Subject: How long can I have a table open?
>
> During my import process I create a connection to a table. How long can I
> leave that connection open without using it before HBase will try to close it?
>
> Hadoop 0.20.2+737
> HBase 0.89.20100924+28
>
> Thanks
>
> -Pete