Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
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
org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler#findPotentialCompactions(int, long, long)
should be limited.
The same limit needs to be added to cleaner:
org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler#findReadyToClean org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler#findReadyToCleanAborts
Attachments
Issue Links
- links to