[ https://issues.apache.org/jira/browse/HIVE-27865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihua Deng resolved HIVE-27865. -------------------------------- Fix Version/s: 4.0.0 Resolution: Fixed Fix has been merged. Thank you [~ayushtkn] and [~aturoczy] for the review! > HMS in http mode drops down silently with no errors > --------------------------------------------------- > > Key: HIVE-27865 > URL: https://issues.apache.org/jira/browse/HIVE-27865 > Project: Hive > Issue Type: Bug > Reporter: Zhihua Deng > Assignee: Zhihua Deng > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > > After the HIVE-27340, threads in the jetty pool are all daemon threads, such > thread pool does not prevent the JVM from exiting when HMS finishes the main > thread: > {noformat} > metastore-0 metastore 1 96e7e920-067b-4134-9abe-c731d12bc8eb [mdc@18060 > class="metastore.HiveMetaStore" level="INFO" thread="main"] Started > HTTPServer for HMS > metastore-0 metastore 1 96e7e920-067b-4134-9abe-c731d12bc8eb [mdc@18060 > class="hook.AtlasHook" level="INFO" thread="shutdown-hook-0"] ==> Shutdown of > Atlas Hook{noformat} > We should provide a way to avoid the silent shutdown as what we do in > HiveServer2 http mode: > [https://github.com/apache/hive/blob/master/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java#L282] -- This message was sent by Atlassian Jira (v8.20.10#820010)