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

Hudson commented on HIVE-4761:
------------------------------

Integrated in Hive-trunk-h0.21 #2159 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/2159/])
    HIVE-4761 : ZooKeeperHiveLockManage.unlockPrimitive has race condition with 
threads (Brock Noland via Ashutosh Chauhan) (Revision 1495055)

     Result = FAILURE
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1495055
Files : 
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java
* 
/hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestEmbeddedLockManager.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/zookeeper
* 
/hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/zookeeper/TestZookeeperLockManager.java

                
> 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
>
>         Attachments: HIVE-4761.patch, HIVE-4761.patch
>
>
> 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

Reply via email to