|
|
-
How long can I have a table open?
Peter Haidinyak 2011-02-07, 18:07
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?
Jonathan Gray 2011-02-07, 19:26
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:[EMAIL PROTECTED]] > Sent: Monday, February 07, 2011 10:07 AM > To: [EMAIL PROTECTED] > 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?
Peter Haidinyak 2011-02-07, 19:29
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:[EMAIL PROTECTED]] Sent: Monday, February 07, 2011 11:27 AM To: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] > Sent: Monday, February 07, 2011 10:07 AM > To: [EMAIL PROTECTED] > 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?
Jonathan Gray 2011-02-07, 19:36
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:[EMAIL PROTECTED]] > Sent: Monday, February 07, 2011 11:29 AM > To: [EMAIL PROTECTED] > 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:[EMAIL PROTECTED]] > Sent: Monday, February 07, 2011 11:27 AM > To: [EMAIL PROTECTED] > 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:[EMAIL PROTECTED]] > > Sent: Monday, February 07, 2011 10:07 AM > > To: [EMAIL PROTECTED] > > 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
|
|