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

Chaoyu Tang commented on HIVE-6082:
-----------------------------------

Could some one commits this patch if it is a proper fix? Thanks.

> Certain KeeperException should be ignored in 
> ZooKeeperHiveLockManage.unlockPrimitive
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-6082
>                 URL: https://issues.apache.org/jira/browse/HIVE-6082
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-6082.patch, Hive-6082.patch
>
>
> KeeperException.NoNodeException and NotEmptyException should be ignored when 
> deleting a zLock or its parent in ZooKeeperHiveLockManager unlockPrimitive. 
> The exceptions can happen: 
> 1) ZooKeeperHiveLockManager retries deleting a zLock after a failure but it 
> has been deleted. 
> 2) a race condition where another process adds a zLock just before it is 
> about to be deleted.
> Otherwise, unlock may unnecessarily be retried for numRetriesForUnLock times.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to