dengzhhu653 commented on PR #4866: URL: https://github.com/apache/hive/pull/4866#issuecomment-1804958455
> PR is fine, just please fill out the PR description. > > Btw why it did not work previously? Done, filled the description. The threads in the executor pool are daemon threads, https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L394 If the main thread exits, threads in this pool will die as a consequence, which makes HMS drop down silently. In HS2, we join the server while starting to serve, https://github.com/apache/hive/blob/master/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java#L282 -- 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]
