hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: HTablePool for Reading Performance
Date Thu, 21 Jul 2011 21:27:58 GMT
Inline.

J-D

> I am trying to start multiple threads in a client to read data from Hbase.
> These threads seem to share only one connection, which resulted in
> increasing latency.

Data on that?

> HTablePool can create multiple connections, right?

Multiple HTable, but they all share one connection to each RS and the
queries/answers are multiplexed.

> I am using two ways to scan HBASE data.
> One is scanning by Key value, the other is scanning by index
> (hbase-transactional-tableindexed IndexedTable)
> I don't know how to adopt HTablePool for my IndexedTable.

I think you just need to pass a class that implements
HTableInterfaceFactory to the constructor and that creates
IndexedTable instead of HTable.

J-D

Mime
View raw message