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

Eugene Koifman edited comment on HIVE-12594 at 1/5/17 10:02 PM:
----------------------------------------------------------------

committed to master 
https://github.com/apache/hive/commit/c3a9fa170377bf2d80dc6e6efa46187c6c5236b2
2.1.1 
https://github.com/apache/hive/commit/0ad90431533984a1de13f3d3196408d105fd7d72

thanks Wei for the review


was (Author: ekoifman):
committed to master 
https://github.com/apache/hive/commit/c3a9fa170377bf2d80dc6e6efa46187c6c5236b2
thanks Wei for the review

> X lock on partition should not conflict with S lock on DB
> ---------------------------------------------------------
>
>                 Key: HIVE-12594
>                 URL: https://issues.apache.org/jira/browse/HIVE-12594
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>    Affects Versions: 1.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>             Fix For: 2.2.0, 2.1.2
>
>         Attachments: HIVE-12594.01.patch
>
>
> S lock on DB is acquired when creating a new table in that DB to make sure 
> the DB is not dropped at the same time
> This should not conflict with operations such as rebuild index which takes an 
> Exclusive lock on a partition.  See also HIVE-10242



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

Reply via email to