[
https://issues.apache.org/jira/browse/HIVE-8136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306528#comment-14306528
]
Ferdinand Xu commented on HIVE-8136:
------------------------------------
Hi [~brocknoland], I agree with you that an exclusive lock is a must for
altering table structure. I think ADDCLUSTERSORTCOLUMN can use shared lock
instead. Please see my previous comments for details.
> Reduce table locking
> --------------------
>
> Key: HIVE-8136
> URL: https://issues.apache.org/jira/browse/HIVE-8136
> Project: Hive
> Issue Type: Sub-task
> Reporter: Brock Noland
> Assignee: Ferdinand Xu
> Attachments: HIVE-8136.patch
>
>
> When using ZK for concurrency control, some statements require an exclusive
> table lock when they are atomic. Such as setting a tables location.
> This JIRA is to analyze the scope of statements like ALTER TABLE and see if
> we can reduce the locking required.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)