[ https://issues.apache.org/jira/browse/HIVE-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721834#comment-13721834 ]
Hive QA commented on HIVE-4299: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12594564/HIVE-4299.5.patch.txt {color:red}ERROR:{color} -1 due to 56 failed/errored test(s), 2729 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.jdbc.TestJdbcDriver.testDriverProperties org.apache.hadoop.hive.jdbc.TestJdbcDriver.testDatabaseMetaData org.apache.hive.jdbc.TestJdbcDriver2.testSelectAll org.apache.hive.jdbc.TestJdbcDriver2.testResultSetMetaData org.apache.hive.jdbc.TestJdbcDriver2.testMetaDataGetColumnsMetaData org.apache.hive.jdbc.TestJdbcDriver2.testDescribeTable org.apache.hadoop.hive.jdbc.TestJdbcDriver.testSelectAllFetchSize org.apache.hive.jdbc.TestJdbcDriver2.testNullType org.apache.hive.jdbc.TestJdbcDriver2.testDuplicateColumnNameOrder org.apache.hive.jdbc.TestJdbcDriver2.testProccedures org.apache.hadoop.hive.jdbc.TestJdbcDriver.testSelectAllMaxRows org.apache.hadoop.hive.jdbc.TestJdbcDriver.testErrorMessages org.apache.hive.jdbc.TestJdbcDriver2.testSelectAllFetchSize org.apache.hive.jdbc.TestJdbcDriver2.testDataTypes2 org.apache.hive.jdbc.TestJdbcDriver2.testOutOfBoundCols org.apache.hadoop.hive.jdbc.TestJdbcDriver.testSelectAll org.apache.hive.jdbc.TestJdbcDriver2.testDriverProperties org.apache.hive.jdbc.TestJdbcDriver2.testErrorDiag org.apache.hadoop.hive.jdbc.TestJdbcDriver.testNullType org.apache.hive.jdbc.TestJdbcDriver2.testProcCols org.apache.hive.jdbc.TestJdbcDriver2.testBuiltInUDFCol org.apache.hive.jdbc.TestJdbcDriver2.testPostClose org.apache.hadoop.hive.jdbc.TestJdbcDriver.testMetaDataGetColumnsMetaData org.apache.hadoop.hive.jdbc.TestJdbcDriver.testMetaDataGetTableTypes org.apache.hive.jdbc.TestJdbcDriver2.testErrorMessages org.apache.hadoop.hive.jdbc.TestJdbcDriver.testSelectAllPartioned org.apache.hive.jdbc.TestJdbcDriver2.testMetaDataGetColumns org.apache.hive.jdbc.TestJdbcDriver2.testPrimaryKeys org.apache.hive.jdbc.TestJdbcDriver2.testShowTables org.apache.hadoop.hive.jdbc.TestJdbcDriver.testMetaDataGetTables org.apache.hadoop.hive.jdbc.TestJdbcDriver.testResultSetMetaData org.apache.hive.jdbc.TestJdbcDriver2.testExplainStmt org.apache.hive.jdbc.TestJdbcDriver2.testBadURL org.apache.hive.jdbc.TestJdbcDriver2.testMetaDataGetCatalogs org.apache.hive.jdbc.TestJdbcDriver2.testImportedKeys org.apache.hadoop.hive.jdbc.TestJdbcDriver.testShowTables org.apache.hive.jdbc.TestJdbcDriver2.testPrepareStatement org.apache.hadoop.hive.jdbc.TestJdbcDriver.testMetaDataGetCatalogs org.apache.hive.jdbc.TestJdbcDriver2.testInvalidURL org.apache.hive.jdbc.TestJdbcDriver2.testSetCommand org.apache.hive.jdbc.TestJdbcDriver2.testSelectAllMaxRows org.apache.hadoop.hive.jdbc.TestJdbcDriver.testExplainStmt org.apache.hadoop.hive.jdbc.TestJdbcDriver.testDescribeTable org.apache.hadoop.hive.jdbc.TestJdbcDriver.testDataTypes org.apache.hive.jdbc.TestJdbcDriver2.testDataTypes org.apache.hive.jdbc.TestJdbcDriver2.testSelectAllPartioned org.apache.hadoop.hive.jdbc.TestJdbcDriver.testSetCommand org.apache.hive.jdbc.TestJdbcDriver2.testMetaDataGetTables org.apache.hadoop.hive.jdbc.TestJdbcDriver.testMetaDataGetColumns org.apache.hadoop.hive.jdbc.TestJdbcDriver.testPrepareStatement org.apache.hive.jdbc.TestJdbcDriver2.testDatabaseMetaData org.apache.hive.jdbc.TestJdbcDriver2.testMetaDataGetSchemas org.apache.hadoop.hive.jdbc.TestJdbcDriver.testMetaDataGetSchemas org.apache.hadoop.hive.jdbc.TestJdbcDriver.testConversionsBaseResultSet org.apache.hive.jdbc.TestJdbcDriver2.testExprCol org.apache.hive.jdbc.TestJdbcDriver2.testMetaDataGetTableTypes {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/212/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/212/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests failed with: TestsFailedException: 56 tests failed {noformat} This message is automatically generated. > exported metadata by HIVE-3068 cannot be imported because of wrong file name > ---------------------------------------------------------------------------- > > Key: HIVE-4299 > URL: https://issues.apache.org/jira/browse/HIVE-4299 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.11.0 > Reporter: Sho Shimauchi > Assignee: Edward Capriolo > Attachments: HIVE-4299.1.patch.txt, HIVE-4299.4.patch.txt, > HIVE-4299.5.patch.txt, HIVE-4299.patch > > > h2. Symptom > When DROP TABLE a table, metadata of the table is generated to be able to > import the dropped table again. > However, the exported metadata name is '<table name>.metadata'. > Since ImportSemanticAnalyzer allows only '_metadata' as metadata filename, > user have to rename the metadata file to import the table. > h2. How to reproduce > Set the following setting to hive-site.xml: > {code} > <property> > <name>hive.metastore.pre.event.listeners</name> > <value>org.apache.hadoop.hive.ql.parse.MetaDataExportListener</value> > </property> > {code} > Then run the following queries: > {code} > > CREATE TABLE test_table (id INT, name STRING); > > DROP TABLE test_table; > > IMPORT TABLE test_table_imported FROM '/path/to/metadata/file'; > FAILED: SemanticException [Error 10027]: Invalid path > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira