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

[jira] [Created] (HIVE-11870) When dropping an imported table, hdfs for that table is not removed.

Takahiko Saito created HIVE-11870:
-------------------------------------

             Summary: 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)