|
|
Weishung Chung 2011-03-01, 16:47
There is a HTablePool class in org.apache.hadoop.hbase.client package. I was wondering is there any performance advantages/speedup in using the pool instead of HTable?
Thank you
On Tue, Mar 1, 2011 at 8:47 AM, Weishung Chung <[EMAIL PROTECTED]> wrote: > There is a HTablePool class in org.apache.hadoop.hbase.client package. I was > wondering is there any performance advantages/speedup in using the pool > instead of HTable? >
Not that I know of. The Pool is of HTable instances. St.Ack
I assume your question is for HBase 0.90.x
All HTable instances used in HTablePool share the same Configuration, and this is still one zookeeper client only.
Reducing zookeeper connections has performance advantage.
On Tue, Mar 1, 2011 at 8:47 AM, Weishung Chung <[EMAIL PROTECTED]> wrote:
> There is a HTablePool class in org.apache.hadoop.hbase.client package. I > was > wondering is there any performance advantages/speedup in using the pool > instead of HTable? > > Thank you >
Weishung Chung 2011-03-01, 18:30
Stack: thanks Ted: I am using HBase 0.20, I have yet to check out 0.90.0
On Tue, Mar 1, 2011 at 11:49 AM, Ted Yu <[EMAIL PROTECTED]> wrote:
> I assume your question is for HBase 0.90.x > > All HTable instances used in HTablePool share the same Configuration, and > this is still one zookeeper client only. > > Reducing zookeeper connections has performance advantage. > > On Tue, Mar 1, 2011 at 8:47 AM, Weishung Chung <[EMAIL PROTECTED]> wrote: > > > There is a HTablePool class in org.apache.hadoop.hbase.client package. I > > was > > wondering is there any performance advantages/speedup in using the pool > > instead of HTable? > > > > Thank you > > >
Weishung Chung 2011-03-01, 21:05
I checked out 0.90 and now I see the difference :) Thanks.
On Tue, Mar 1, 2011 at 12:30 PM, Weishung Chung <[EMAIL PROTECTED]> wrote:
> Stack: thanks > Ted: I am using HBase 0.20, I have yet to check out 0.90.0 > > > On Tue, Mar 1, 2011 at 11:49 AM, Ted Yu <[EMAIL PROTECTED]> wrote: > >> I assume your question is for HBase 0.90.x >> >> All HTable instances used in HTablePool share the same Configuration, and >> this is still one zookeeper client only. >> >> Reducing zookeeper connections has performance advantage. >> >> On Tue, Mar 1, 2011 at 8:47 AM, Weishung Chung <[EMAIL PROTECTED]> >> wrote: >> >> > There is a HTablePool class in org.apache.hadoop.hbase.client package. I >> > was >> > wondering is there any performance advantages/speedup in using the pool >> > instead of HTable? >> > >> > Thank you >> > >> > >
Dalia Sobhy 2012-11-17, 18:14
Dear all,
I want to understand when to use HTable, HTablePool and HtableAdmin in Java API ?
I tried to read Hbase book, but I got confused.. So any help please?
How to insert data using Put in a HTablePool instance..?
|
|