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

Brock Noland commented on HIVE-8136:
------------------------------------

{{ADDCLUSTERSORTCOLUMN }} is not used by many people so there isn't much 
benefit there.

I was suggestion that the following:

{{alter table add partition}}
{{alter table [part...] set location}}

may not need an exclusive lock. Can you share why we need a lock when adding a 
partition?

> 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)

Reply via email to