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

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

[~elserj]  [~bharathv]  [~larsh]  So what do we do here? There is a difference 
of opinion. 

I think making ZK watcher threads daemon threads are problematic. These respond 
to watch events and process them. If they are daemonized if the process exits 
the thread can be terminated in the middle of updating other state.

> 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