[ https://issues.apache.org/jira/browse/HIVE-8830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207520#comment-14207520 ]
Eugene Koifman commented on HIVE-8830: -------------------------------------- t.setName("HiveClientCache cleaner"); It's a minor thing, but it would be good to add a counter in the ThreadFactory and add it to the name so that it's like this "HiveClientCache cleaner-1". If the thread in the pool dies, a new one is created to replace it. With the counter, we'll know about that in thread dumps and logs. +1 pending tests > hcatalog process don't exit because of non daemon thread > -------------------------------------------------------- > > Key: HIVE-8830 > URL: https://issues.apache.org/jira/browse/HIVE-8830 > Project: Hive > Issue Type: Bug > Affects Versions: 0.14.0 > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Fix For: 0.15.0 > > Attachments: HIVE-8830.1.patch > > > HiveClientCache has a cleanup thread which is not a daemon. It can cause hcat > client process to hang even after the complete. -- This message was sent by Atlassian JIRA (v6.3.4#6332)