[
https://issues.apache.org/jira/browse/HIVE-15541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Dere updated HIVE-15541:
------------------------------
Attachment: HIVE-15541.3.patch
Per [~sershe], creating the TimelineEntities before submitting to the
ExecutorService. If there is concern that creating ATS events will take too
much time on the main query thread, another option is to create another thread
pool to create the ATS events, which then submit to the ATS logging thread.
> Hive OOM when ATSHook enabled and ATS goes down
> -----------------------------------------------
>
> Key: HIVE-15541
> URL: https://issues.apache.org/jira/browse/HIVE-15541
> Project: Hive
> Issue Type: Bug
> Components: Hooks
> Reporter: Jason Dere
> Assignee: Jason Dere
> Attachments: HIVE-15541.1.patch, HIVE-15541.2.patch,
> HIVE-15541.3.patch
>
>
> The ATS API used by the Hive ATSHook is a blocking call, if ATS goes down
> this can block the ATSHook executor, while the hook continues to submit work
> to the executor with each query.
> Over time the buildup of queued items can cause OOM.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)