You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "dengzhhu653 (via GitHub)" <gi...@apache.org> on 2023/06/26 12:27:27 UTC

[GitHub] [hive] dengzhhu653 commented on pull request #4449: HIVE-27463: Non-daemon thread prevents HMS from exiting when failed t…

dengzhhu653 commented on PR #4449:
URL: https://github.com/apache/hive/pull/4449#issuecomment-1607369052

   > It wasn't a deamon before? I though it is / was
   
   It wasn't a daemon thread(started from the main thread), the stack trace can also imply that:
   ```
   "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)
   ```
   compared to a daemon thread, there is a **daemon** flag in the stack trace: 
   ```
   "Metastore threads starter thread" #37 daemon prio=5 os_prio=0 tid=0x00007f813313a800 nid=0x12cb waiting on condition [0x00007f80f2b1d000]
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org