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)

Reply via email to