[
https://issues.apache.org/jira/browse/HIVE-7241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189350#comment-14189350
]
Alan Gates commented on HIVE-7241:
----------------------------------
The list of locks there just covers the older ZK and memory lock models. The
locks for DbLockMgr are completely different. They are covered briefly in
https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-LockManager
but not listed individually, so there's no need to add this change in the
documentation.
> Wrong lock acquired for alter table rename partition
> ----------------------------------------------------
>
> Key: HIVE-7241
> URL: https://issues.apache.org/jira/browse/HIVE-7241
> Project: Hive
> Issue Type: Bug
> Components: Locking
> Affects Versions: 0.13.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Fix For: 0.14.0
>
> Attachments: HIVE-7241.patch, HIVE-7241.patch
>
>
> Doing an "alter table foo partition (bar='x') rename to partition (bar='y')"
> acquires a read lock on table foo. It should instead acquire an exclusive
> lock on partition bar=x.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)