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

Zhihua Deng updated HIVE-27463:
-------------------------------
    Description: 
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}

  was:
When there is an error when 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}


> 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
>            Priority: Minor
>
> 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)

Reply via email to