[ 
https://issues.apache.org/jira/browse/HBASE-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780914#action_12780914
 ] 

stack commented on HBASE-1999:
------------------------------

This is particular noticeable when the upload is done out of map tasks.  The 
task creates an HTable and then exits when done, perhaps thousands of times.

The idea to register a shutdown hooks was J-Ds.

> When HTable goes away, close zk session in shutdown hook or something...
> ------------------------------------------------------------------------
>
>                 Key: HBASE-1999
>                 URL: https://issues.apache.org/jira/browse/HBASE-1999
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>
> Currently, while there is a close on HTable, it does not let go of the zk 
> session.. it does not call close... because the session is shared by all 
> HTables in the VM.  Add a shutdown hook that will close zk on the way out.   
> Otherwise it makes for session timeouts in zk server logs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to