hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6082) Certain KeeperException should be ignored in ZooKeeperHiveLockManage.unlockPrimitive
Date Fri, 20 Dec 2013 14:48:31 GMT

     [ https://issues.apache.org/jira/browse/HIVE-6082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brock Noland updated HIVE-6082:
-------------------------------

    Attachment: HIVE-6082.patch

Looks great! I am uploading the exact patch with an upper case name for testing.

> 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
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-6082.patch, 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)

Mime
View raw message