[ 
https://issues.apache.org/jira/browse/HIVE-9977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Gates updated HIVE-9977:
-----------------------------
    Attachment: HIVE-9977.patch

This patch adds a new thrift call to add partitions after they are moved in the 
MoveTask.  It is called by Hive.loadDynamicPartitions.  It also fixes the 
Initiator to not attempt to compact temp tables or partitioned tables when no 
partitions are present.

> Compactor not running on partitions after dynamic partitioned insert
> --------------------------------------------------------------------
>
>                 Key: HIVE-9977
>                 URL: https://issues.apache.org/jira/browse/HIVE-9977
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 0.14.0, 1.0.0, 1.1.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-9977.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to