You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2014/08/12 13:09:12 UTC

[jira] [Updated] (HIVE-7684) Avoid validating hook EnforceReadOnlyTable during test driver cleanup.

     [ https://issues.apache.org/jira/browse/HIVE-7684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Venki Korukanti updated HIVE-7684:
----------------------------------

    Summary: Avoid validating hook EnforceReadOnlyTable during  test driver cleanup.  (was: join1.q not running on trunk)

> 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
>
> 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)