Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9977

Compactor not running on partitions after dynamic partitioned insert

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0, 1.0.0, 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: Transactions
    • Labels:
      None

      Description

      When an insert, update, or delete is done using dynamic partitioning the lock is obtained on the table instead of on the individual partitions, since the partitions are not known at lock acquisition time. The compactor is using the locks to determine which partitions to check to see if they need compacted. Since the individual partitions aren't locked they aren't checked.

        Attachments

        1. HIVE-9977.patch
          648 kB
          Alan Gates

          Activity

            People

            • Assignee:
              gates Alan Gates
              Reporter:
              gates Alan Gates
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: