You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2021/11/10 08:07:00 UTC
[jira] [Resolved] (HIVE-25631) Initiator speed-up: only read
compaction history once per loop
[ https://issues.apache.org/jira/browse/HIVE-25631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denys Kuzmenko resolved HIVE-25631.
-----------------------------------
Resolution: Fixed
> Initiator speed-up: only read compaction history once per loop
> --------------------------------------------------------------
>
> Key: HIVE-25631
> URL: https://issues.apache.org/jira/browse/HIVE-25631
> Project: Hive
> Issue Type: Task
> Reporter: Denys Kuzmenko
> Assignee: Denys Kuzmenko
> Priority: Major
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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.20.1#820001)