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)