[ https://issues.apache.org/jira/browse/HIVE-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625501#comment-14625501 ]
Eugene Koifman commented on HIVE-10986: --------------------------------------- {noformat} Exception: MetaException(message:File file:/home/hiveptest/54.204.79.65-hiveptest-1/apache-github-source-source/itests/qtest/target/tmp/hcat_altertable_16 does not exist) org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:File file:/home/hiveptest/54.204.79.65-hiveptest-1/apache-github-source-source/itests/qtest/target/tmp/hcat_altertable_16 does not exist) at org.apache.hadoop.hive.ql.metadata.Hive.dropTable(Hive.java:1045) at org.apache.hadoop.hive.ql.QTestUtil.clearTablesCreatedDuringTests(QTestUtil.java:685) at org.apache.hadoop.hive.ql.QTestUtil.clearTestSideEffects(QTestUtil.java:734) at org.apache.hadoop.hive.cli.TestCliDriver.setUp(TestCliDriver.java:75) at junit.framework.TestCase.runBare(TestCase.java:139) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) 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) Caused by: MetaException(message:File file:/home/hiveptest/54.204.79.65-hiveptest-1/apache-github-source-source/itests/qtest/target/tmp/hcat_altertable_16 does not exist) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.checkTrashPurgeCombination(HiveMetaStore.java:1590) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_table_core(HiveMetaStore.java:1536) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_table_with_environment_context(HiveMetaStore.java:1737) at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107) at com.sun.proxy.$Proxy12.drop_table_with_environment_context(Unknown Source) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.drop_table_with_environment_context(HiveMetaStoreClient.java:2059) at org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.drop_table_with_environment_context(SessionHiveMetaStoreClient.java:118) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.dropTable(HiveMetaStoreClient.java:974) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.dropTable(HiveMetaStoreClient.java:910) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:156) at com.sun.proxy.$Proxy13.dropTable(Unknown Source) at org.apache.hadoop.hive.ql.metadata.Hive.dropTable(Hive.java:1039) ... 17 more Caused by: java.io.FileNotFoundException: File file:/home/hiveptest/54.204.79.65-hiveptest-1/apache-github-source-source/itests/qtest/target/tmp/hcat_altertable_16 does not exist at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:534) at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:747) at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:524) at org.apache.hadoop.fs.FileSystem.resolvePath(FileSystem.java:750) at org.apache.hadoop.fs.FilterFileSystem.resolvePath(FilterFileSystem.java:152) at org.apache.hadoop.hive.shims.Hadoop23Shims.isTrashEnabled(Hadoop23Shims.java:265) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.checkTrashPurgeCombination(HiveMetaStore.java:1582) ... 34 more {noformat} > Check of fs.trash.interval in HiveMetaStore should be consistent with > Trash.moveToAppropriateTrash() > ---------------------------------------------------------------------------------------------------- > > Key: HIVE-10986 > URL: https://issues.apache.org/jira/browse/HIVE-10986 > Project: Hive > Issue Type: Sub-task > Components: Hive > Affects Versions: 1.2.1 > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Attachments: HIVE-10986.2.patch, HIVE-10986.3.patch, HIVE-10986.patch > > > This is a followup to HIVE-10629. > Trash.moveToAppropriateTrash() takes core-site.xml but HiveMetaStore checks > "hiveConf" which is a problem when they disagree. -- This message was sent by Atlassian JIRA (v6.3.4#6332)