You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "KIRTI RUGE (Jira)" <ji...@apache.org> on 2022/12/15 08:00:06 UTC

[jira] [Created] (HIVE-26858) OOM / high GC caused by showCompactions & purgeCompactionHistory

KIRTI RUGE created HIVE-26858:
---------------------------------

             Summary: OOM / high GC caused by showCompactions & purgeCompactionHistory
                 Key: HIVE-26858
                 URL: https://issues.apache.org/jira/browse/HIVE-26858
             Project: Hive
          Issue Type: Bug
          Components: Hive
            Reporter: KIRTI RUGE


If for some reason housekeeper service wasn't running, when activated it could cause OOM. showCompactions & purgeCompactionHistory loads the complete history of events into the heap that should be reviewed.
purgeCompactionHistory might be refactored with batching or replaced with a complex delete query instead of `select` first and then `delete`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)