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

Andrew Kyle Purtell commented on HBASE-25279:
---------------------------------------------

[~zhangduo] 
bq. I think this is a bug fix, without the patch it is impossible to do a clean 
shutdown.

That's not true. The watchers should be closed. The threads will be terminated 
then. Leaving a ZK watcher unclosed is a leak. That's the real bug. Right?

> Non-daemon thread in ZKWatcher
> ------------------------------
>
>                 Key: HBASE-25279
>                 URL: https://issues.apache.org/jira/browse/HBASE-25279
>             Project: HBase
>          Issue Type: Bug
>          Components: Zookeeper
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Critical
>             Fix For: 3.0.0-alpha-1, 2.5.0
>
>
> 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)

Reply via email to