You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/06/19 22:48:23 UTC

[jira] [Created] (HIVE-4761) ZooKeeperHiveLockManage.unlockPrimitive has race condition with threads

Brock Noland created HIVE-4761:
----------------------------------

             Summary: ZooKeeperHiveLockManage.unlockPrimitive has race condition with threads
                 Key: HIVE-4761
                 URL: https://issues.apache.org/jira/browse/HIVE-4761
             Project: Hive
          Issue Type: Sub-task
    Affects Versions: 0.11.0
            Reporter: Brock Noland
            Assignee: Brock Noland
            Priority: Critical
             Fix For: 0.12.0


In unlockPrimitive, we check to see if children exist and if not delete the parent node. If two threads do this at the same time it's possible for two threads to call Zookeeper.delete() on the same node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira