You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Takahiko Saito (JIRA)" <ji...@apache.org> on 2015/11/06 04:03:27 UTC

[jira] [Updated] (HIVE-11870) When exporting an external table, importing it, and dropping it, hdfs data is not removed.

     [ https://issues.apache.org/jira/browse/HIVE-11870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Takahiko Saito updated HIVE-11870:
----------------------------------
    Summary: When exporting an external table, importing it, and dropping it, hdfs data is not removed.   (was: When dropping an imported table, hdfs for that table is not removed. )

> When exporting an external table, importing it, and dropping it, hdfs data 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)