[ https://issues.apache.org/jira/browse/HIVE-25631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denys Kuzmenko updated HIVE-25631: ---------------------------------- Description: 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. > 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 > Priority: Major > > 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)