hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1999) When HTable goes away, close zk session in shutdown hook or something...
Date Sat, 21 Nov 2009 05:42:39 GMT

    [ 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.


Mime
View raw message