[
https://issues.apache.org/jira/browse/HBASE-25279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264557#comment-17264557
]
Bharath Vissapragada commented on HBASE-25279:
----------------------------------------------
> Why is the watcher not being closed? That is the bug.
[~apurtell] I had the same opinion
[above|https://issues.apache.org/jira/browse/HBASE-25279?focusedCommentId=17231063&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17231063].
I prefer not to mark them as daemon threads and instead fix the actual
problem. Marking them as daemon threads may mask some other problem in the
future.
> 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, 2.4.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)