[
https://issues.apache.org/jira/browse/HIVE-22290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasanth Jayachandran resolved HIVE-22290.
------------------------------------------
Resolution: Fixed
Merged to master. Thanks for the contribution [~nareshpr] !
> ObjectStore.cleanWriteNotificationEvents and ObjectStore.cleanupEvents
> OutOfMemory on large number of pending events
> --------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-22290
> URL: https://issues.apache.org/jira/browse/HIVE-22290
> Project: Hive
> Issue Type: Bug
> Components: HCatalog, repl
> Affects Versions: 4.0.0
> Reporter: Thomas Prelle
> Assignee: Naresh P R
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> As in [https://jira.apache.org/jira/browse/HIVE-19430] if there are large
> number of events that haven't been cleaned up for some reason, then
> ObjectStore.cleanWriteNotificationEvents() and ObjectStore.cleanupEvents can
> run out of memory while it loads all the events to be deleted.
> It should fetch events in batches.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)