hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7684) Avoid validating hook EnforceReadOnlyTable during test driver cleanup.
Date Wed, 13 Aug 2014 18:20:12 GMT

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

Mime
View raw message