[
https://issues.apache.org/jira/browse/HIVE-11870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14805030#comment-14805030
]
Cazen Lee commented on HIVE-11870:
----------------------------------
Sorry, student table type not meaningful. I got misunderstood
> When dropping an imported table, hdfs for that table is not removed.
> ---------------------------------------------------------------------
>
> Key: HIVE-11870
> URL: https://issues.apache.org/jira/browse/HIVE-11870
> Project: Hive
> Issue Type: Bug
> Affects Versions: 1.2.1
> Reporter: Takahiko Saito
>
> Export a table to some dir and import it with a different table name.
> {noformat}
> export table student to '/tmp/student';
> import table imported_student from '/tmp/student';
> {noformat}
> Then drop the imported table successfully
> {noformat}
> drop table imported_student;
> {noformat}
> but hdfs for that table still exists
> {noformat}
> hadoop fs -ls /apps/hive/warehouse/imported_student
> Found 1 items
> -rwxrwxrwx 3 hrt_qa hdfs 219190 2015-09-17 22:19
> /apps/hive/warehouse/imported_student/studenttab10k
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)