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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to