Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7204518626 for ; Fri, 27 Nov 2015 01:25:11 +0000 (UTC) Received: (qmail 77190 invoked by uid 500); 27 Nov 2015 01:25:11 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 77167 invoked by uid 500); 27 Nov 2015 01:25:11 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 77153 invoked by uid 99); 27 Nov 2015 01:25:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Nov 2015 01:25:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 033AF2C14FB for ; Fri, 27 Nov 2015 01:25:10 +0000 (UTC) Date: Fri, 27 Nov 2015 01:25:10 +0000 (UTC) From: "Eugene Koifman (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12529) HiveTxnManager.acquireLocks() should not block forever 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-12529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Koifman updated HIVE-12529: ---------------------------------- Attachment: HIVE-12529.2.patch > HiveTxnManager.acquireLocks() should not block forever > ------------------------------------------------------ > > Key: HIVE-12529 > URL: https://issues.apache.org/jira/browse/HIVE-12529 > Project: Hive > Issue Type: Bug > Components: Transactions > Affects Versions: 1.0.0 > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Attachments: HIVE-12529.2.patch, HIVE-12529.patch > > > Currently, in DbTxnManager this method will block until all competing locks have gone away. > This is not appropriate for all clients. There should be a way to specify a max-wait-time. > It will throw an exception on timeout (given how current method signature is written). -- This message was sent by Atlassian JIRA (v6.3.4#6332)