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 72FD3101AF for ; Wed, 24 Dec 2014 03:07:15 +0000 (UTC) Received: (qmail 44753 invoked by uid 500); 24 Dec 2014 03:07:14 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 44671 invoked by uid 500); 24 Dec 2014 03:07:14 -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 44632 invoked by uid 500); 24 Dec 2014 03:07:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 44624 invoked by uid 99); 24 Dec 2014 03:07:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2014 03:07:14 +0000 Date: Wed, 24 Dec 2014 03:07:14 +0000 (UTC) From: "Chaoyu Tang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HIVE-9203) CREATE TEMPORARY FUNCTION hangs trying to acquire lock 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-9203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chaoyu Tang reassigned HIVE-9203: --------------------------------- Assignee: Chaoyu Tang > CREATE TEMPORARY FUNCTION hangs trying to acquire lock > ------------------------------------------------------ > > Key: HIVE-9203 > URL: https://issues.apache.org/jira/browse/HIVE-9203 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.1 > Environment: CDH5.2.1 > Reporter: Johndee Burks > Assignee: Chaoyu Tang > > If there are SHARED locks on default database. CREATE TEMPORARY FUNCTION will hang until the operation completes or until lock acquisition timeout is reached. > == General Reproduction Steps == > 1. Create a table in default. > 2. Do a query against that table that last a long time. I achieved this by creating a UDF that does sleep for 100 minutes. > 3. Try to create temporary function in another Hive CLI session. This should hang waiting for a ZK exclusive lock on default. > == Script Details == > - Works only out of box on CDH with parcels. If you are not using parcels then you need to modify paths in builder.sh. -- This message was sent by Atlassian JIRA (v6.3.4#6332)