You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Josh Elser (Jira)" <ji...@apache.org> on 2021/01/01 00:18:00 UTC
[jira] [Commented] (HBASE-25279) Non-daemon thread in ZKWatcher
[ https://issues.apache.org/jira/browse/HBASE-25279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17257120#comment-17257120 ]
Josh Elser commented on HBASE-25279:
------------------------------------
[~vjasani], it's been a while, but I believe I was able to reproduce this, yes. I think the ZK threads are already daemonized, so, while I agree with you long term that we should have a good understanding of ZK cnxn management inside our daemons, I think this is a good "cover our butts".
[~bharathv], yeah, if we are ever shutting down without the ZK client being closed. I didn't exhaustively map that out.
> Non-daemon thread in ZKWatcher
> ------------------------------
>
> Key: HBASE-25279
> URL: https://issues.apache.org/jira/browse/HBASE-25279
> Project: HBase
> Issue Type: Bug
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Critical
> Fix For: 3.0.0-alpha-1
>
>
> ZKWatcher spawns an ExecutorService which doesn't mark its threads as daemons which will prevent clean shut downs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)