Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
Description
CompactorMR.run() produces
LOG.error("No delta files or original files found to compact in " + sd.getLocation() + " for compactionId=" + ci.id);
in some cases even where there are plenty of delta directories in the partition.
The reason is that compactor won't compact anything above the level of an open transaction. So if there is a very long running txn, it may filter out all deltas in a partition. This looks very confusing when looking at the logs.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-12636 Ensure that all queries (with DbTxnManager) run in a transaction
- Closed