hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Cleanup HTable public interface
Date Mon, 24 Feb 2014 23:37:35 GMT
On Mon, Feb 24, 2014 at 3:03 PM, Nick Dimiduk <ndimiduk@gmail.com> wrote:

> HBASE-6580 replaced the preferred means of HTableInterface acquisition to
> the HConnection#getTable factory methods. HBASE-9117 removes the
> HConnection cache, placing the burden of responsible connection cleanup on
> whomever acquires it.
> The remaining HTable constructors use a Connection instance and manage
> their own HConnection on the callers behalf. This is convenient but also a
> surprising source of poor performance for anyone accustomed to the previous
> connection caching behavior. I propose deprecating those remaining
> constructors for 0.98/0.96 and removing them for 1.0.
> While I'm at it, I suggest we pursue some API hygiene in general and
> convert HTable into an interface. Can that be done for 1.0 as well?

Music to my ears.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message