hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: HTablePool and the deprecated putTable in HBase 0.90.4
Date Tue, 29 May 2012 14:59:27 GMT
On Tue, May 29, 2012 at 7:15 AM, Jeroen Hoek <jeroen@lable.org> wrote:
> Hello,
> In the documentation for the current HBase version HTablePool's method
> putTable() is deprecated, and we should use HTable.close() instead.
> We are currently using Cloudera's HBase distribution, version
> 0.90.4-cdh3u2, and are still using putTable(). The Javadoc for this
> release does not deprecate it yet. Can we safely switch to HTable's
> close() in this version of HBase?

I don't think so.  Can you check the src to see if they do the same
thing (return the instance to the pool).

View raw message