You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2020/11/23 12:42:00 UTC
[jira] [Assigned] (HIVE-24411) Make ThreadPoolExecutorWithOomHook
more awareness of OutOfMemoryError
[ https://issues.apache.org/jira/browse/HIVE-24411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihua Deng reassigned HIVE-24411:
----------------------------------
> 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
>
> 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 may never be an instance of OutOfMemoryError, as the exception is wrapped in ExecutionException, see the method report in class FutureTask.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)