[
https://issues.apache.org/jira/browse/HIVE-6082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chaoyu Tang updated HIVE-6082:
------------------------------
Attachment: Hive-6082.patch
Please review the attached fix.
> 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
> Attachments: 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.4#6159)