You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2023/08/27 11:19:00 UTC

[jira] [Resolved] (HIVE-27463) Non-daemon thread prevents HMS from exiting when failed to start thrift server

     [ https://issues.apache.org/jira/browse/HIVE-27463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihua Deng resolved HIVE-27463.
--------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> Non-daemon thread prevents HMS from exiting when failed to start thrift server
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-27463
>                 URL: https://issues.apache.org/jira/browse/HIVE-27463
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhihua Deng
>            Assignee: Zhihua Deng
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> When there is an error starting the thrift server, though the HMS process is alive, but it's unable to serve the request.
> {noformat}
> "Thread-7" #38 prio=5 os_prio=0 tid=0x00007f813313c000 nid=0x12cc waiting on condition [0x00007f80f1581000]
>    java.lang.Thread.State: TIMED_WAITING (sleeping)
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hive.metastore.HiveMetaStore$5.run(HiveMetaStore.java:11950)
> "Metastore threads starter thread" #37 daemon prio=5 os_prio=0 tid=0x00007f813313a800 nid=0x12cb waiting on condition [0x00007f80f2b1d000]
>    java.lang.Thread.State: WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000003fd465098> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
> 	at org.apache.hadoop.hive.metastore.HiveMetaStore$6.run(HiveMetaStore.java:12001){noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)