hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cw (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6734) DDL locking too course grained in new db txn manager
Date Thu, 18 Sep 2014 03:15:34 GMT

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

cw commented on HIVE-6734:
--------------------------

I use DummyTxnManager as the default value of hive.txn.manager. I noticed that the CREATE
TEMPORARY FUNCTION requires a EXCLUSIVE lock while it's writetype is DLL_NO_LOCK in the DummyTxnManager.
Maybe it's a good idea to check the DLL's writetype in DummyTxnManager too.

> DDL locking too course grained in new db txn manager
> ----------------------------------------------------
>
>                 Key: HIVE-6734
>                 URL: https://issues.apache.org/jira/browse/HIVE-6734
>             Project: Hive
>          Issue Type: Bug
>          Components: Locking
>    Affects Versions: 0.13.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6734.patch, HIVE-6734.patch
>
>
> All DDL operations currently acquire an exclusive lock.  This is too course grained,
as some operations like alter table add partition shouldn't get an exclusive lock on the entire
table.



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

Mime
View raw message