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 4C5691189B for ; Wed, 13 Aug 2014 18:20:13 +0000 (UTC) Received: (qmail 91104 invoked by uid 500); 13 Aug 2014 18:20:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 91021 invoked by uid 500); 13 Aug 2014 18:20:12 -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 91009 invoked by uid 500); 13 Aug 2014 18:20:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 91006 invoked by uid 99); 13 Aug 2014 18:20:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2014 18:20:12 +0000 Date: Wed, 13 Aug 2014 18:20:12 +0000 (UTC) From: "Szehon Ho (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7684) Avoid validating hook EnforceReadOnlyTable during test driver cleanup. 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-7684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Szehon Ho updated HIVE-7684: ---------------------------- Resolution: Fixed Fix Version/s: 0.14.0 Release Note: Committed to trunk. Thanks Venki for the contribution. Status: Resolved (was: Patch Available) > Avoid validating hook EnforceReadOnlyTable during test driver cleanup. > ----------------------------------------------------------------------- > > Key: HIVE-7684 > URL: https://issues.apache.org/jira/browse/HIVE-7684 > Project: Hive > Issue Type: Test > Components: Tests > Reporter: Szehon Ho > Assignee: Venki Korukanti > Fix For: 0.14.0 > > Attachments: HIVE-7684.1.patch > > > For some strange reason, join1.q has not been running on trunk (see latest pre-commit builds). > I tried running manually and got the following exception, which quits the framework. > {noformat} > Cleaning up TestCliDriver > PREHOOK: query: DROP TABLE IF EXISTS src > PREHOOK: type: DROPTABLE > PREHOOK: Input: default@src > PREHOOK: Output: default@src > FAILED: Hive Internal Error: java.lang.RuntimeException(Cannot overwrite read-only table: src) > java.lang.RuntimeException: Cannot overwrite read-only table: src > at org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables.run(EnforceReadOnlyTables.java:71) > at org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables.run(EnforceReadOnlyTables.java:56) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1263) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1136) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:960) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:950) > at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:265) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:217) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:427) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:363) > at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:625) > at org.apache.hadoop.hive.ql.QTestUtil.shutdown(QTestUtil.java:386) > at org.apache.hadoop.hive.cli.TestSparkCliDriver.tearDown(TestSparkCliDriver.java:87) > at junit.framework.TestCase.runBare(TestCase.java:140) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:124) > at junit.framework.TestSuite.runTest(TestSuite.java:243) > at junit.framework.TestSuite.run(TestSuite.java:238) > at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) > at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) > at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) > at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) > at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) > at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)