bq. is it established when an HTable object is instantiated

The above is true.
Take a look at 9.3.1.1. under
http://hbase.apache.org/book.html#client.connections

bq. only when the HTable is closed?

There is ref counting for the connection associated with the HTable. When
the ref count reaches 0, the connection would be closed.

On Thu, Oct 2, 2014 at 10:33 AM, Vrushali C <[email protected]> wrote:

>
>
> I had a question about connections to region servers and their lifetime in
> the context of doing a Put (say a single put).
>
> Is a network connection established to a region server when the Put is
> being executed? Or is it established when an HTable object is instantiated?
> Is that connection to the RegionServer closed after the Put is done or only
> when the HTable is closed?
>
> thanks
> Vrushali
>

Reply via email to