In 0.94 HTablePool will only release the table when it has too many of
them, else it is just put back into the pool.

Is that not correct? What are you expecting instead?

Thx,

J-D

On Wed, Jul 18, 2012 at 5:45 PM, Andrew Whang <[email protected]> wrote:
> I'm reading into the implementation of HTablePool, and notice that the two
> argument constructor creates the default implementation of the
> HTableInterfaceFactory, called HTableFactory. When I look at the
> implementation of HTableFactory, the releaseHTableInterface() method
> invokes HTableInterface.close(), which, in the context of HTablePool,
> invokes HTablePool.returnTable(), which invokes
> HTableFactory.releaseHTableInterface(), which invokes
> HTablePool.returnTable(), and so on and so on.
>
> Am I missing something here? It seems the releaseHTableInterface method
> should not invoke HTableInterface.close.
>
> Andrew

Reply via email to