[ 
https://issues.apache.org/jira/browse/HIVE-9977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14369994#comment-14369994
 ] 

Eugene Koifman commented on HIVE-9977:
--------------------------------------

A few minor nits:
TestTxnHandler - unsed import
TestCompactor - unused iimport each of the new tests have "List<String> names = 
new ArrayList<>(partNames);" in each of them.  My IDE complains about empty <>.

+1


> 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