Spoke too soon. Totally glanced past the if statement that checks for pool
maxSize. Thanks, J-D, for pointing it out. Sorry for the false alarm.

Andrew


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