You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/11/12 02:49:34 UTC
[jira] [Commented] (HIVE-8830) hcatalog process don't exit because
of non daemon thread
[ https://issues.apache.org/jira/browse/HIVE-8830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207509#comment-14207509 ]
Thejas M Nair commented on HIVE-8830:
-------------------------------------
In the jstack output, the following non daemon thread was seen . -
{code}
"pool-1-thread-1" prio=10 tid=0x00007f6b793a4800 nid=0x3030 waiting on condition [0x00007f6b741dc000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000e09fdc28> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:807)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
{code}
Verified manually that this patch fixes the hanging issue.
> 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)