[
https://issues.apache.org/jira/browse/HIVE-24411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263324#comment-17263324
]
Zhihua Deng commented on HIVE-24411:
------------------------------------
[~kgyrtkirk] Could you please take a look at the changes? thanks a lot!
> Make ThreadPoolExecutorWithOomHook more awareness of OutOfMemoryError
> ---------------------------------------------------------------------
>
> Key: HIVE-24411
> URL: https://issues.apache.org/jira/browse/HIVE-24411
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Now the ThreadPoolExecutorWithOomHook invokes some oom hooks and stops the
> HiveServer2 in case of OutOfMemoryError when executing the tasks. The
> exception is obtained by calling method _future.get()_, however the exception
> should not be an instance of OutOfMemoryError, as the exception is wrapped
> in ExecutionException, refer to the method _report_ in FutureTask.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)