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 B489B10DCA for ; Tue, 25 Nov 2014 03:25:13 +0000 (UTC) Received: (qmail 92505 invoked by uid 500); 25 Nov 2014 03:25:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 92182 invoked by uid 500); 25 Nov 2014 03:25:13 -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 92031 invoked by uid 500); 25 Nov 2014 03:25:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 92028 invoked by uid 99); 25 Nov 2014 03:25:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2014 03:25:13 +0000 Date: Tue, 25 Nov 2014 03:25:12 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8192) Check DDL's writetype in DummyTxnManager 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-8192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223995#comment-14223995 ] Hive QA commented on HIVE-8192: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12683317/HIVE-8192.4.patch {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 6682 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_insert_into1 org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_insert_into2 org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_insert_into3 org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_insert_into4 {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1895/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1895/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1895/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12683317 - PreCommit-HIVE-TRUNK-Build > Check DDL's writetype in DummyTxnManager > ---------------------------------------- > > Key: HIVE-8192 > URL: https://issues.apache.org/jira/browse/HIVE-8192 > Project: Hive > Issue Type: Bug > Components: Locking > Affects Versions: 0.13.0, 0.13.1 > Environment: hive0.13.1 > Reporter: cw > Priority: Minor > Labels: patch > Attachments: HIVE-8192.2.patch, HIVE-8192.3.patch, HIVE-8192.4.patch > > > The patch of HIVE-6734 added some DDL writetypes and checked DDL writetype in DbTxnManager.java. > We use DummyTxnManager as the default value of hive.txn.manager in hive-site.xml. We noticed that the operation of CREATE TEMPORARY FUNCTION has a DLL_NO_LOCK writetype but it requires a EXCLUSIVE lock. If we try to create a temporary function while there's a SELECT is processing at the same database, then the console will print 'conflicting lock present for default mode EXCLUSIVE' and the CREATE TEMPORARY FUNCTION operation won't get the lock until the SELECT is done. Maybe it's a good idea to check the DDL's writetype in DummyTxnManager too. -- This message was sent by Atlassian JIRA (v6.3.4#6332)