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 35618DEBB for ; Fri, 5 Oct 2012 11:38:05 +0000 (UTC) Received: (qmail 82657 invoked by uid 500); 5 Oct 2012 11:38:04 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 82550 invoked by uid 500); 5 Oct 2012 11:38:04 -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 82525 invoked by uid 500); 5 Oct 2012 11:38:04 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 82517 invoked by uid 99); 5 Oct 2012 11:38:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 11:38:03 +0000 Date: Fri, 5 Oct 2012 11:38:03 +0000 (UTC) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1269545427.219.1349437083814.JavaMail.jiratomcat@arcas> In-Reply-To: <2130129650.1415.1349378268915.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HIVE-3533) ZooKeeperHiveLockManager does not respect the option to keep locks alive even after the current session has closed 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-3533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470234#comment-13470234 ] Namit Jain commented on HIVE-3533: ---------------------------------- +1 > ZooKeeperHiveLockManager does not respect the option to keep locks alive even after the current session has closed > ------------------------------------------------------------------------------------------------------------------ > > Key: HIVE-3533 > URL: https://issues.apache.org/jira/browse/HIVE-3533 > Project: Hive > Issue Type: Bug > Components: Locking > Affects Versions: 0.9.0 > Reporter: Matt Martin > Priority: Minor > Attachments: HIVE-3533.1.patch.txt > > > The HiveLockManager interface defines the following method: > public List lock(List objs, > boolean keepAlive) throws LockException; > ZooKeeperHiveLockManager implements HiveLockManager, but the current implementation of the "lock" method never actually references the "keepAlive" parameter. As a result, all of the locks acquired by the "lock" method are ephemeral. In other words, Zookeeper-based locks only exist as long as the underlying Zookeeper session exists. As soon as the Zookeeper session ends, any Zookeeper-based locks are automatically released. -- 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