[
https://issues.apache.org/jira/browse/HIVE-25315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379664#comment-17379664
]
Zhihua Deng commented on HIVE-25315:
------------------------------------
The instance is stopped due to some reasons, maybe caused by
[oom|https://github.com/apache/hive/blob/rel/release-3.1.0/service/src/java/org/apache/hive/service/cli/thrift/ThreadPoolExecutorWithOomHook.java#L51-L53]
, you can add some logs like HIVE-22037 to identify the problem.
> SQL executed hiveserver is killed by the HiveServer2-Handler-Pool thread,
> very occasionally
> -------------------------------------------------------------------------------------------
>
> Key: HIVE-25315
> URL: https://issues.apache.org/jira/browse/HIVE-25315
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 3.1.0
> Reporter: GuangMing Lu
> Priority: Major
>
> {code:java}
> 2021-07-05 15:23:17,376 | INFO | HiveServer2-Handler-Pool: Thread-226765745
> | Shutting down HiveServer2 |
> org.apache.hive.service.server.HiveServer2.stop(HiveServer2.java:1090)
> 2021-07-05 15:23:17,376 | INFO | HiveServer2-Handler-Pool: Thread-226765745
> | Thrift server has stopped |
> org.apache.hive.service.cli.thrift.ThriftBinaryCLIService.stopServer(ThriftBinaryCLIService.java:225)
> 2021-07-05 15:23:17,376 | INFO | HiveServer2-Handler-Pool: Thread-226765745
> | Service:ThriftBinaryCLIService is stopped. |
> org.apache.hive.service.AbstractService.stop(AbstractService.java:130)
> 2021-07-05 15:23:17,376 | INFO | HiveServer2-Handler-Pool: Thread-226765745
> | Service:OperationManager is stopped. |
> org.apache.hive.service.AbstractService.stop(AbstractService.java:130)
> 2021-07-05 15:23:17,376 | INFO | HiveServer2-Handler-Pool: Thread-226765745
> | Service:SessionManager is stopped. |
> org.apache.hive.service.AbstractService.stop(AbstractService.java:130)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)