You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2013/12/20 15:42:09 UTC

[jira] [Created] (HIVE-6082) Certain KeeperException should be ignored in ZooKeeperHiveLockManage.unlockPrimitive

Chaoyu Tang created HIVE-6082:
---------------------------------

             Summary: 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


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)