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

Reply via email to