You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Adam Szita (JIRA)" <ji...@apache.org> on 2019/08/06 12:50:00 UTC

[jira] [Commented] (HIVE-22037) HS2 should log when shutting down due to OOM

    [ https://issues.apache.org/jira/browse/HIVE-22037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900998#comment-16900998 ] 

Adam Szita commented on HIVE-22037:
-----------------------------------

Committed to master. Thanks for the fix!

> HS2 should log when shutting down due to OOM
> --------------------------------------------
>
>                 Key: HIVE-22037
>                 URL: https://issues.apache.org/jira/browse/HIVE-22037
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Barnabas Maidics
>            Assignee: Barnabas Maidics
>            Priority: Major
>         Attachments: HIVE-22037.2.patch, HIVE-22037.3.patch, HIVE-22037.patch
>
>
> Currently, if HS2 runs into OOM issue, ThreadPoolExecutorWithOomHook kicks in and runs oomHook, which will stop HS2. Everything happens without logging. In the log, you can only see, that HS2 stopped. 
> We should log the stacktrace. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)