The current behavior was intentional. See javadoc of closeTablePool():
* Note: this is a 'shutdown' of the given table pool and different from
* {@link #putTable(HTableInterface)}, that is used to return the table
* instance to the pool for future re-use.
because releaseHTableInterface() calls
table.close();
On Tue, Apr 5, 2011 at 3:22 AM, Lars George <[email protected]> wrote:
> Hi,
>
> I am wondering, shouldn't the putTable() also call
> releaseHTableInterface on the discarded HTable instances, just like
> the closeTablePool() does on the retaining instances?
>
> Lars
>