hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Kellerman <...@powerset.com>
Subject RE: Connection Pool for HBase
Date Thu, 13 Mar 2008 17:43:38 GMT
A single HTable object can be shared by multiple threads.

---
Jim Kellerman, Senior Engineer; Powerset


> -----Original Message-----
> From: ma qiang [mailto:maqiang1984@gmail.com]
> Sent: Thursday, March 13, 2008 9:30 AM
> To: hbase-user@hadoop.apache.org
> Subject: Re: Connection Pool for HBase
>
> I don't understand .  Why explicit connection pooling is no need ?
> When we use HBase in some app such as search engine, we need
> to read from table then give user a response.
>
>
>
> On Fri, Mar 14, 2008 at 12:06 AM, Jim Kellerman
> <jim@powerset.com> wrote:
> > You are correct. There is no need to implement explicit
> connection pooling.
> >
> >
> >  ---
> >  Jim Kellerman, Senior Engineer; Powerset
> >
> >
> >  > -----Original Message-----
> >  > From: Goel, Ankur [mailto:Ankur.Goel@corp.aol.com]
> >
> > > Sent: Thursday, March 13, 2008 12:29 AM
> >  > To: hbase-user@hadoop.apache.org
> >
> >
> > > Subject: RE: Connection Pool for HBase
> >  >
> >  > Is it a known issue filed in JIRA ? What's the issue number ?
> >  >
> >  > So assuming that this bug is fixed, there isn't a need to  >
> > implement explicit connection pooling, right?
> >  >
> >  > Thanks
> >  > -Ankur
> >  >
> >  > -----Original Message-----
> >  > From: Jim Kellerman [mailto:jim@powerset.com]  > Sent:
> Wednesday,
> > March 12, 2008 10:04 PM  > To: hbase-user@hadoop.apache.org  >
> > Subject: RE: Connection Pool for HBase  >  > We do have a
> connection
> > pool in HTable, however we were  > looking at a bug yesterday that
> > suggested that some part of  > it may not be thread safe
> (although it
> > is supposed to be).
> >  >
> >  > ---
> >  > Jim Kellerman, Senior Engineer; Powerset  >  >  > >
> -----Original
> > Message-----  > > From: Goel, Ankur
> [mailto:Ankur.Goel@corp.aol.com]
> > > > Sent: Wednesday, March 12, 2008 6:22 AM  > > To:
> > hbase-user@hadoop.apache.org  > > Subject: Connection Pool
> for HBase
> > > >  > >  > >  Hi Folks,
> >  > >           Do we have a connection pool implementation
> for Hbase.
> >  > > Basically I want to be able to write to Hbase from
> different  > >
> > application threads.
> >  > >
> >  > > Also, how is synchronisation taken care of if multiple
>  > threads
> > try to  > > read/write to the same table ?
> >  > >
> >  > > Thanks
> >  > > -Ankur
> >  > >
> >  > >
> >  > > No virus found in this incoming message.
> >  > > Checked by AVG.
> >  > > Version: 7.5.518 / Virus Database: 269.21.7/1327 -
> Release  > >
> > Date: 3/12/2008 1:27 PM  > >  > >  >  > No virus found in this
> > outgoing message.
> >  > Checked by AVG.
> >  > Version: 7.5.518 / Virus Database: 269.21.7/1327 - Release Date:
> >  > 3/12/2008 1:27 PM
> >  >
> >  >
> >  > No virus found in this incoming message.
> >  > Checked by AVG.
> >  > Version: 7.5.518 / Virus Database: 269.21.7/1327 -
> Release  > Date:
> > 3/12/2008 1:27 PM  >  >
> >
> >  No virus found in this outgoing message.
> >  Checked by AVG.
> >  Version: 7.5.518 / Virus Database: 269.21.7/1327 - Release Date:
> > 3/12/2008 1:27 PM
> >
> >
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.518 / Virus Database: 269.21.7/1327 - Release
> Date: 3/12/2008 1:27 PM
>
>

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.518 / Virus Database: 269.21.7/1327 - Release Date: 3/12/2008 1:27 PM


Mime
View raw message