Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82AEC109D3 for ; Thu, 26 Dec 2013 16:16:20 +0000 (UTC) Received: (qmail 90829 invoked by uid 500); 26 Dec 2013 16:15:58 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 90706 invoked by uid 500); 26 Dec 2013 16:15:55 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 90604 invoked by uid 500); 26 Dec 2013 16:15:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 90593 invoked by uid 99); 26 Dec 2013 16:15:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Dec 2013 16:15:51 +0000 Date: Thu, 26 Dec 2013 16:15:51 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6082) Certain KeeperException should be ignored in ZooKeeperHiveLockManage.unlockPrimitive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13856925#comment-13856925 ] Brock Noland commented on HIVE-6082: ------------------------------------ +1 > 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.5#6160)