[ https://issues.apache.org/jira/browse/HIVE-19341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haifeng Chen updated HIVE-19341: -------------------------------- Component/s: (was: Contrib) Tests > contrib qtest shows exception in the clean up scripts > ----------------------------------------------------- > > Key: HIVE-19341 > URL: https://issues.apache.org/jira/browse/HIVE-19341 > Project: Hive > Issue Type: Bug > Components: Testing Infrastructure, Tests > Affects Versions: 3.1.0 > Reporter: Haifeng Chen > Assignee: Haifeng Chen > Priority: Major > Attachments: HIVE-19341.01.patch > > > In the end of the result output file, the following exception log appended. > This text will not cause the q test to fail if it was correct. > FAILED: Hive Internal Error: > org.apache.hadoop.hive.ql.metadata.HiveException(Error while invoking > PreHook. hooks: java.lang.RuntimeException: Cannot overwrite read-only table: > src_thrift > at > org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables.run(EnforceReadOnlyTables.java:63) > at > org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables.run(EnforceReadOnlyTables.java:43) > at > org.apache.hadoop.hive.ql.HookRunner.invokeGeneralHook(HookRunner.java:296) > at org.apache.hadoop.hive.ql.HookRunner.runPreHooks(HookRunner.java:273) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:2086) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1825) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1568) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1562) > at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:157) > at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:218) > at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:239) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:188) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:402) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:335) > at org.apache.hadoop.hive.ql.QTestUtil.cleanupFromFile(QTestUtil.java:1131) > at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:1104) > at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:1088) > at org.apache.hadoop.hive.ql.QTestUtil.shutdown(QTestUtil.java:736) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver$6.invokeInternal(CoreCliDriver.java:141) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver$6.invokeInternal(CoreCliDriver.java:138) > at > org.apache.hadoop.hive.util.ElapsedTimeLoggingWrapper.invoke(ElapsedTimeLoggingWrapper.java:33) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver.shutdown(CoreCliDriver.java:144) > at > org.apache.hadoop.hive.cli.control.CliAdapter$1$1.evaluate(CliAdapter.java:75) > at org.junit.rules.RunRules.evaluate(RunRules.java:20) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413) > ) > org.apache.hadoop.hive.ql.metadata.HiveException: Error while invoking > PreHook. hooks: java.lang.RuntimeException: Cannot overwrite read-only table: > src_thrift > at > org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables.run(EnforceReadOnlyTables.java:63) > at > org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables.run(EnforceReadOnlyTables.java:43) > at > org.apache.hadoop.hive.ql.HookRunner.invokeGeneralHook(HookRunner.java:296) > at org.apache.hadoop.hive.ql.HookRunner.runPreHooks(HookRunner.java:273) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:2086) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1825) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1568) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1562) > at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:157) > at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:218) > at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:239) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:188) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:402) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:335) > at org.apache.hadoop.hive.ql.QTestUtil.cleanupFromFile(QTestUtil.java:1131) > at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:1104) > at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:1088) > at org.apache.hadoop.hive.ql.QTestUtil.shutdown(QTestUtil.java:736) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver$6.invokeInternal(CoreCliDriver.java:141) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver$6.invokeInternal(CoreCliDriver.java:138) > at > org.apache.hadoop.hive.util.ElapsedTimeLoggingWrapper.invoke(ElapsedTimeLoggingWrapper.java:33) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver.shutdown(CoreCliDriver.java:144) > at > org.apache.hadoop.hive.cli.control.CliAdapter$1$1.evaluate(CliAdapter.java:75) > at org.junit.rules.RunRules.evaluate(RunRules.java:20) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413) > at org.apache.hadoop.hive.ql.HookRunner.invokeGeneralHook(HookRunner.java:302) > at org.apache.hadoop.hive.ql.HookRunner.runPreHooks(HookRunner.java:273) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:2086) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1825) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1568) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1562) > at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:157) > at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:218) > at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:239) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:188) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:402) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:335) > at org.apache.hadoop.hive.ql.QTestUtil.cleanupFromFile(QTestUtil.java:1131) > at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:1104) > at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:1088) > at org.apache.hadoop.hive.ql.QTestUtil.shutdown(QTestUtil.java:736) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver$6.invokeInternal(CoreCliDriver.java:141) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver$6.invokeInternal(CoreCliDriver.java:138) > at > org.apache.hadoop.hive.util.ElapsedTimeLoggingWrapper.invoke(ElapsedTimeLoggingWrapper.java:33) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver.shutdown(CoreCliDriver.java:144) > at > org.apache.hadoop.hive.cli.control.CliAdapter$1$1.evaluate(CliAdapter.java:75) > at org.junit.rules.RunRules.evaluate(RunRules.java:20) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413) > Caused by: java.lang.RuntimeException: Cannot overwrite read-only table: > src_thrift > at > org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables.run(EnforceReadOnlyTables.java:63) > at > org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables.run(EnforceReadOnlyTables.java:43) > at > org.apache.hadoop.hive.ql.HookRunner.invokeGeneralHook(HookRunner.java:296) > ... 30 more -- This message was sent by Atlassian JIRA (v7.6.3#76005)