[ https://issues.apache.org/jira/browse/HIVE-22037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16895109#comment-16895109 ]
Adam Szita commented on HIVE-22037: ----------------------------------- +1 on [^HIVE-22037.3.patch] > 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)