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

Aihua Xu commented on HIVE-11130:
---------------------------------

Can you take a look at the .2.patch? Moved the check logic to 
HiveTxnManagerImpl.

> Refactoring the code so that HiveTxnManager interface will support 
> lock/unlock table/database object
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11130
>                 URL: https://issues.apache.org/jira/browse/HIVE-11130
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Locking
>    Affects Versions: 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-11130.2.patch, HIVE-11130.patch
>
>
> This is just a refactoring step which keeps the current logic, but it exposes 
> the explicit lock/unlock table and database  in HiveTxnManager which should 
> be implemented differently by the subclasses ( currently it's not. e.g., for 
> ZooKeeper implementation, we should lock table and database when we try to 
> lock the table).



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

Reply via email to