hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10986) Check of fs.trash.interval in HiveMetaStore should be consistent with Trash.moveToAppropriateTrash()
Date Thu, 18 Jun 2015 00:46:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591008#comment-14591008
] 

Eugene Koifman commented on HIVE-10986:
---------------------------------------

3500 failures!!!

{noformat}
Exception: MetaException(message:java.lang.IllegalArgumentException: Wrong FS: pfile:/home/hiveptest/54.205.61.97-hiveptest-0/apache-github-source-source/itests/qtest/target/warehouse/dest1,
expected: file:///)
org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:java.lang.IllegalArgumentException:
Wrong FS: pfile:/home/hiveptest/54.205.61.97-hiveptest-0/apache-github-source-source/itests/qtest/target/warehouse/dest1,
expected: file:///)
	at org.apache.hadoop.hive.ql.metadata.Hive.dropTable(Hive.java:1042)
	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:java.lang.IllegalArgumentException: Wrong FS: pfile:/home/hiveptest/54.205.61.97-hiveptest-0/apache-github-source-source/itests/qtest/target/warehouse/dest1,
expected: file:///)
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.newMetaException(HiveMetaStore.java:5403)
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_table_with_environment_context(HiveMetaStore.java:1752)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	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:1036)
	... 17 more
Caused by: java.lang.IllegalArgumentException: Wrong FS: pfile:/home/hiveptest/54.205.61.97-hiveptest-0/apache-github-source-source/itests/qtest/target/warehouse/dest1,
expected: file:///
	at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:645)
	at org.apache.hadoop.fs.FileSystem.resolvePath(FileSystem.java:749)
	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:1585)
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_table_core(HiveMetaStore.java:1539)
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_table_with_environment_context(HiveMetaStore.java:1741)
	... 33 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.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)

Mime
View raw message