hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7281) DbTxnManager acquiring wrong level of lock for dynamic partitioning
Date Fri, 01 Aug 2014 05:06:38 GMT

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

Alan Gates updated HIVE-7281:
-----------------------------

    Attachment: HIVE-7281.patch

Attaching a patch that locks at the table level rather than locking the dummy partition (as
before).

> DbTxnManager acquiring wrong level of lock for dynamic partitioning
> -------------------------------------------------------------------
>
>                 Key: HIVE-7281
>                 URL: https://issues.apache.org/jira/browse/HIVE-7281
>             Project: Hive
>          Issue Type: Bug
>          Components: Locking, Transactions
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-7281.patch
>
>
> Currently DbTxnManager.acquireLocks() locks the DUMMY_PARTITION for dynamic partitioning.
 But this is not adequate.  This will not prevent drop operations on partitions being written
to.  The lock should be at the table level.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message