hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4299) exported metadata by HIVE-3068 cannot be imported because of wrong file name
Date Sun, 28 Jul 2013 09:25:49 GMT

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

Hive QA commented on HIVE-4299:
-------------------------------



{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12594564/HIVE-4299.5.patch.txt

{color:green}SUCCESS:{color} +1 2729 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/216/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/216/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{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

Mime
View raw message