[ https://issues.apache.org/jira/browse/HIVE-11130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616796#comment-14616796 ]
Aihua Xu commented on HIVE-11130: --------------------------------- [~alangates] Yes. supportsExplicitLock() is being checked in DDLTask.java for unlock/lock database/table before doing the real work. > 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.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)