Thomas Prelle created HIVE-22290:
------------------------------------
Summary: 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
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)