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

Yongzhi Chen commented on HIVE-13959:
-------------------------------------

After talked with [~ctang.ma], getLocks return all the locks related to the 
path. It seems a consistent behavior in EmbeddedLockManager
and ZooKeeperHiveLockManager. 
So the first patch is a good fix.
+1 for the fix HIVE-13959.patch

> MoveTask should only release its query associated locks
> -------------------------------------------------------
>
>                 Key: HIVE-13959
>                 URL: https://issues.apache.org/jira/browse/HIVE-13959
>             Project: Hive
>          Issue Type: Bug
>          Components: Locking
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-13959.1.patch, HIVE-13959.patch, HIVE-13959.patch
>
>
> releaseLocks in MoveTask releases all locks under a HiveLockObject pathNames. 
> But some of locks under this pathNames might be for other queries and should 
> not be released.



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

Reply via email to