hbase-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/HBASE-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack updated HBASE-1999:
-------------------------

    Attachment: hcm.patch

This patch seems to do the right thing.  I tried it in a MR context and I see closeSession
instead of expiredSession in zk logs when its in place.  Task logs look fine too.

> 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
>         Attachments: hcm.patch
>
>
> 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