This is an automated email from the ASF dual-hosted git repository.

dengzh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 7260b558db9 HIVE-27463: Non-daemon thread prevents HMS from exiting 
when failed to start thrift server (Zhihua Deng, reviewed by Attila Turoczy, 
Denys Kuzmenko)
7260b558db9 is described below

commit 7260b558db99fb440795bfcbd405e97aeb65f076
Author: dengzh <[email protected]>
AuthorDate: Sun Aug 27 19:15:25 2023 +0800

    HIVE-27463: Non-daemon thread prevents HMS from exiting when failed to 
start thrift server (Zhihua Deng, reviewed by Attila Turoczy, Denys Kuzmenko)
    
    Closes #4449
---
 .../src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
 
b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
index f6980e2fac6..ecf9904af9d 100644
--- 
a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
+++ 
b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
@@ -784,6 +784,7 @@ public class HiveMetaStore extends ThriftHiveMetastore {
         }
       }
     };
+    t.setDaemon(true);
     t.start();
   }
 

Reply via email to