[
https://issues.apache.org/jira/browse/HIVE-27444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-27444:
----------------------------------
Labels: pull-request-available (was: )
> Limit items processed by Initiator/Cleaner
> ------------------------------------------
>
> Key: HIVE-27444
> URL: https://issues.apache.org/jira/browse/HIVE-27444
> Project: Hive
> Issue Type: Improvement
> Components: Hive
> Reporter: Zsolt Miskolczi
> Assignee: Zsolt Miskolczi
> Priority: Major
> Labels: pull-request-available
>
> The list of potential compaction items processed by Initiator is currently
> unlimited, and this may result in very long Initator loops. To avoid this,
> the potential compaction items returned by
> {code:java}
> org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler#findPotentialCompactions(int,
> long, long){code}
>
> should be limited.
> The same limit needs to be added to cleaner:
>
> {code:java}
> org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler#findReadyToClean
> org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler#findReadyToCleanAborts
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)