You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zoltan Chovan (Jira)" <ji...@apache.org> on 2021/08/10 09:03:00 UTC

[jira] [Created] (HIVE-25442) Initiator speed-up: only read compaction history once per loop

Zoltan Chovan created HIVE-25442:
------------------------------------

             Summary: Initiator speed-up: only read compaction history once per loop
                 Key: HIVE-25442
                 URL: https://issues.apache.org/jira/browse/HIVE-25442
             Project: Hive
          Issue Type: Improvement
            Reporter: Zoltan Chovan
            Assignee: Zoltan Chovan


In checkFailedCompactions (which is called for every partition in the list of potentials to compact) we select from metadata table COMPLETED_COMPACTIONS.

But the Initiator main loop already has a ShowCompactResponse. We can use that instead.

For cases where metadata is huge, this will help speed up the Initiator.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)