hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject Re: HTablePool not using release
Date Sat, 09 Apr 2011 17:44:29 GMT
Hi Ted,

I was referring to the discarded HTable instances. Not the ones that
are retained in the pool.

Lars

On Thu, Apr 7, 2011 at 4:44 AM, Ted Yu <yuzhihong@gmail.com> wrote:
> 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 <lars.george@gmail.com> 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
>>
>

Mime
View raw message